projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[brcm63xx] register GPIO-connected LEDs for known boards
[openwrt-10.03/.git]
/
target
/
linux
/
brcm63xx
/
files
/
include
/
asm-mips
/
mach-bcm63xx
/
board_bcm963xx.h
diff --git
a/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/board_bcm963xx.h
b/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/board_bcm963xx.h
index 85d1e5f418c55e49aebc387c3f30230b20b34148..d154b2859ee2d5a83dc1b7deb41dba4a85902b6a 100644
(file)
--- a/
target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/board_bcm963xx.h
+++ b/
target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/board_bcm963xx.h
@@
-2,6
+2,8
@@
#define BOARD_BCM963XX_H_
#include <linux/types.h>
#define BOARD_BCM963XX_H_
#include <linux/types.h>
+#include <linux/gpio.h>
+#include <linux/leds.h>
#include <bcm63xx_dev_enet.h>
#include <bcm63xx_dev_dsp.h>
#include <bcm63xx_dev_enet.h>
#include <bcm63xx_dev_dsp.h>
@@
-51,6
+53,9
@@
struct board_info {
/* DSP config */
struct bcm63xx_dsp_platform_data dsp;
/* DSP config */
struct bcm63xx_dsp_platform_data dsp;
+
+ /* GPIO LEDs */
+ struct gpio_led leds[5];
};
#endif /* ! BOARD_BCM963XX_H_ */
};
#endif /* ! BOARD_BCM963XX_H_ */