diff options
author | Andrew Lunn <andrew@lunn.ch> | 2014-05-26 23:29:48 +0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-06-21 03:47:27 +0400 |
commit | 55fc83023212f940927b9a44e31ad93d7e67d27d (patch) | |
tree | a5cf59a586cf5d520c099b078bf07974af01e064 /arch/arm/mach-mvebu/board.h | |
parent | adb1d99384c7480886153a97d2ea22e9c0d2e053 (diff) | |
download | linux-55fc83023212f940927b9a44e31ad93d7e67d27d.tar.xz |
ARM: Kirkwood: Add setup file for netxbig LEDs
There is currently no DT binding for the CPLD which controls the LEDs
on the Net 2Big and Net 5Big. So use a platform device.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lkml.kernel.org/r/1401132591-26305-2-git-send-email-andrew@lunn.ch
Tested-by: Simon Guinot <simon.guinot@sequanux.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-mvebu/board.h')
-rw-r--r-- | arch/arm/mach-mvebu/board.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/board.h b/arch/arm/mach-mvebu/board.h index 9c7bb4386f8b..98e32cc2ef3d 100644 --- a/arch/arm/mach-mvebu/board.h +++ b/arch/arm/mach-mvebu/board.h @@ -13,4 +13,9 @@ #ifndef __ARCH_MVEBU_BOARD_H #define __ARCH_MVEBU_BOARD_H +#ifdef CONFIG_MACH_NETXBIG +void netxbig_init(void); +#else +static inline void netxbig_init(void) {}; +#endif #endif |