Upgrade rb500 to .22.1, add the LED driver from #986
[openwrt/svn-archive/archive.git] / target / linux / rb532-2.6 / files / arch / mips / rb500 / devices.c
index 079eb09602f4186a69b1bf6d07d1ec2cb74d6b66..61250f9da101af8dd0aa0259ce4fa1d3277dec92 100644 (file)
@@ -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)