summaryrefslogtreecommitdiffstats
path: root/target/linux/rb532-2.6/files/arch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-17 10:25:18 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-17 10:25:18 +0000
commit774ac72291a8e6ecbc245abd308f7820fa117d94 (patch)
tree1f437773010d0c1d2ff23de8f3a336b662bd02cd /target/linux/rb532-2.6/files/arch
parent358803f75ad26a6ee1310f2c6fcad9e02b699f9b (diff)
Upgrade rb500 to .22.1, add the LED driver from #986
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8015 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532-2.6/files/arch')
-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 079eb0960..61250f9da 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)