summaryrefslogtreecommitdiff
path: root/target/linux/rb532/files/arch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-10-29 10:03:14 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-10-29 10:03:14 +0000
commit734ace1804e0a2971df8c2556875814cd9b13a26 (patch)
tree9b5d5a0b587065f6dc43097ad5fe00467d300c89 /target/linux/rb532/files/arch
parentb314ffdd3abe3babc3ab9d4caea87e2d5da3d8ef (diff)
downloadmtk-20170518-734ace1804e0a2971df8c2556875814cd9b13a26.zip
mtk-20170518-734ace1804e0a2971df8c2556875814cd9b13a26.tar.gz
mtk-20170518-734ace1804e0a2971df8c2556875814cd9b13a26.tar.bz2
Resync kernel config, put back yellow led registration (#2607)
SVN-Revision: 9458
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 d2476a8..dec2be9 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)