diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-03-08 12:10:01 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-03-08 12:10:01 +0000 |
commit | 0d9be7212908591cda5e7ad54444261a0d34b7d6 (patch) | |
tree | d4110c2126f6edc187ec2826306ffc8b24a27183 /target/linux/ar71xx/files/arch/mips/include | |
parent | a950c66e0db961f735310caea115209b6a133a07 (diff) | |
download | master-187ad058-0d9be7212908591cda5e7ad54444261a0d34b7d6.tar.gz master-187ad058-0d9be7212908591cda5e7ad54444261a0d34b7d6.tar.bz2 master-187ad058-0d9be7212908591cda5e7ad54444261a0d34b7d6.zip |
ar71xx: add LED driver for the RB750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20051 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/include')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/mach-rb750.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/mach-rb750.h b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/mach-rb750.h index 8165da3e61..661ba4ec72 100644 --- a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/mach-rb750.h +++ b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/mach-rb750.h @@ -49,6 +49,18 @@ #define RB750_LED_BITS (RB750_LED_PORT1 | RB750_LED_PORT2 | RB750_LED_PORT3 | \ RB750_LED_PORT4 | RB750_LED_PORT5 | RB750_LED_ACT) +struct rb750_led_data { + char *name; + char *default_trigger; + u32 mask; + int active_low; +}; + +struct rb750_led_platform_data { + int num_leds; + struct rb750_led_data *leds; +}; + int rb750_latch_change(u32 mask_clr, u32 mask_set); #endif /* _MACH_RB750_H */
\ No newline at end of file |