aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rb532-2.6/files/arch/mips/rb500
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-07-17 10:25:18 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-07-17 10:25:18 +0000
commiteb097e30686e7318eb11eea5d4555f174ce40f15 (patch)
tree1c277b5e7d0b8083bec90f7e9d2498fae9fd44c9 /target/linux/rb532-2.6/files/arch/mips/rb500
parente5520b8853462f148e3b339d172b1764cb4b1ff1 (diff)
downloadupstream-eb097e30686e7318eb11eea5d4555f174ce40f15.tar.gz
upstream-eb097e30686e7318eb11eea5d4555f174ce40f15.tar.bz2
upstream-eb097e30686e7318eb11eea5d4555f174ce40f15.zip
Upgrade rb500 to .22.1, add the LED driver from #986
SVN-Revision: 8015
Diffstat (limited to 'target/linux/rb532-2.6/files/arch/mips/rb500')
-rw-r--r--target/linux/rb532-2.6/files/arch/mips/rb500/devices.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/rb532-2.6/files/arch/mips/rb500/devices.c b/target/linux/rb532-2.6/files/arch/mips/rb500/devices.c
index 079eb09602..61250f9da1 100644
--- a/target/linux/rb532-2.6/files/arch/mips/rb500/devices.c
+++ b/target/linux/rb532-2.6/files/arch/mips/rb500/devices.c
@@ -139,11 +139,17 @@ static struct platform_device nand_slot0 = {
.num_resources = ARRAY_SIZE(nand_slot0_res),
};
+static struct platform_device rb500led = {
+ .name = "rb500-led",
+ .id = 0,
+};
+
static struct platform_device *rb500_devs[] = {
&korina_dev0,
&nand_slot0,
- &cf_slot0
+ &cf_slot0,
+ &rb500led
};
static void __init parse_mac_addr(char* macstr)