summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/include
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-09-07 08:59:27 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-09-07 08:59:27 +0000
commitdd8499cc2687d8c2df064054627c498402c64ed0 (patch)
tree3168263b6505914f1f57835f80724558d81d46cc /target/linux/ar71xx/files/include
parent243904d49670e2870b3dbe7066b902339d90158d (diff)
downloadmtk-20170518-dd8499cc2687d8c2df064054627c498402c64ed0.zip
mtk-20170518-dd8499cc2687d8c2df064054627c498402c64ed0.tar.gz
mtk-20170518-dd8499cc2687d8c2df064054627c498402c64ed0.tar.bz2
simplify leds-gpio device registration
SVN-Revision: 12543
Diffstat (limited to 'target/linux/ar71xx/files/include')
-rw-r--r--target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h b/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h
index 820a1cb..996924a 100644
--- a/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h
+++ b/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h
@@ -16,6 +16,7 @@
#include <linux/skbuff.h>
#include <linux/phy.h>
#include <linux/spi/spi.h>
+#include <linux/leds.h>
struct ag71xx_platform_data {
u32 reset_bit;
@@ -49,4 +50,8 @@ extern void ar71xx_add_device_eth(unsigned int id, phy_interface_t phy_if_mode,
extern void ar71xx_add_device_mdio(u32 phy_mask) __init;
+extern void ar71xx_add_device_leds_gpio(int id,
+ unsigned num_leds,
+ struct gpio_led *leds) __init;
+
#endif /* __ASM_MACH_AR71XX_PLATFORM_H */