projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: add LED driver for the RB750
[openwrt-10.03/.git]
/
target
/
linux
/
ar71xx
/
files
/
arch
/
mips
/
include
/
asm
/
mach-ar71xx
/
mach-rb750.h
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 8165da3e6178a49ee0bb4f33e98eacd4bdfbbdf8..661ba4ec7250da9b0f5da0459a2a92f9743b831c 100644
(file)
--- 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)
#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
int rb750_latch_change(u32 mask_clr, u32 mask_set);
#endif /* _MACH_RB750_H */
\ No newline at end of file