aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/files/include
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-07-18 00:40:23 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-07-18 00:40:23 +0000
commitc6ab7daf854987151acd6e6b62c541602a1d8567 (patch)
tree1085737833e393fdc7bd78dc89a34f86308c5471 /target/linux/brcm63xx/files/include
parentb9e97b34b9ccd9b45b526e979cbeeb1c6674efc0 (diff)
downloadupstream-c6ab7daf854987151acd6e6b62c541602a1d8567.tar.gz
upstream-c6ab7daf854987151acd6e6b62c541602a1d8567.tar.bz2
upstream-c6ab7daf854987151acd6e6b62c541602a1d8567.zip
[brcm63xx] register GPIO-connected LEDs for known boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16887 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/files/include')
-rw-r--r--target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/board_bcm963xx.h5
1 files changed, 5 insertions, 0 deletions
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 85d1e5f418..d154b2859e 100644
--- 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>
+#include <linux/gpio.h>
+#include <linux/leds.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;
+
+ /* GPIO LEDs */
+ struct gpio_led leds[5];
};
#endif /* ! BOARD_BCM963XX_H_ */