diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-09-07 08:59:27 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-09-07 08:59:27 +0000 |
commit | 91e3f567de3c135e551ab674bd2a9e37beb8cdb9 (patch) | |
tree | fd74e3a816f3e3de806a44e8da4aca010ca3277a /target/linux/ar71xx/files/include/asm-mips | |
parent | 207dc2886e439c1ac32195f424c956345f60eb30 (diff) | |
download | master-187ad058-91e3f567de3c135e551ab674bd2a9e37beb8cdb9.tar.gz master-187ad058-91e3f567de3c135e551ab674bd2a9e37beb8cdb9.tar.bz2 master-187ad058-91e3f567de3c135e551ab674bd2a9e37beb8cdb9.zip |
[ar71xx] simplify leds-gpio device registration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12543 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/include/asm-mips')
-rw-r--r-- | target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h | 5 |
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 820a1cb1d5..996924a0aa 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 */ |