[PATCH] ARM: mvebu: Add a SOC bus device entry
Jason Cooper
jason at lakedaemon.net
Wed Apr 23 21:27:17 PDT 2014
On Tue, Mar 04, 2014 at 06:51:47PM +0100, Andrew Lunn wrote:
> Add the SoC Family, device ID and revision to /sys/bus/soc.
>
> Signed-off-by: Andrew Lunn <andrew at lunn.ch>
> ---
> arch/arm/mach-mvebu/Kconfig | 1 +
> arch/arm/mach-mvebu/mvebu-soc-id.c | 28 ++++++++++++++++++++++++++++
> 2 files changed, 29 insertions(+)
Applied to mvebu/soc
Please make sure to run make with -q to catch newly introduced warnings.
I added 'return 0;' to the end of the function, and explicitly 'return
0;' for !is_id_valid.
thx,
Jason.
More information about the linux-arm-kernel
mailing list