summaryrefslogtreecommitdiffstats
path: root/target/linux/rb532/files/arch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-29 10:03:14 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-29 10:03:14 +0000
commit7c1574b386166f45b75fb565f945a35b82c52d7d (patch)
treefd7a155aa912d71ad01483feb3b4b136af1d06e0 /target/linux/rb532/files/arch
parent6a244cf2e8b86fd790bd6443721da90dcaabd33b (diff)
Resync kernel config, put back yellow led registration (#2607)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9458 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532/files/arch')
-rw-r--r--target/linux/rb532/files/arch/mips/rb500/devices.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/rb532/files/arch/mips/rb500/devices.c b/target/linux/rb532/files/arch/mips/rb500/devices.c
index d2476a89c..dec2be9b2 100644
--- a/target/linux/rb532/files/arch/mips/rb500/devices.c
+++ b/target/linux/rb532/files/arch/mips/rb500/devices.c
@@ -184,11 +184,16 @@ static struct mtd_partition rb500_partition_info[] = {
}
};
+static struct platform_device rb500_led = {
+ .name = "rb500-led",
+ .id = 0,
+};
static struct platform_device *rb500_devs[] = {
&korina_dev0,
&nand_slot0,
- &cf_slot0
+ &cf_slot0,
+ &rb500_led
};
static void __init parse_mac_addr(char *macstr)