aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rdc
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-10-05 13:50:21 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-10-05 13:50:21 +0000
commit9a6b4fa7dadcbc6e8fe5b2e0dddbd315a0d9dde0 (patch)
tree0808bc88396158b8afdc6719cb722adf53ef84fa /target/linux/rdc
parent06cc9686a6b9838daf1ac3718329af5522fc9926 (diff)
downloadupstream-9a6b4fa7dadcbc6e8fe5b2e0dddbd315a0d9dde0.tar.gz
upstream-9a6b4fa7dadcbc6e8fe5b2e0dddbd315a0d9dde0.tar.bz2
upstream-9a6b4fa7dadcbc6e8fe5b2e0dddbd315a0d9dde0.zip
Led is not active low by default, register the watchdog
SVN-Revision: 9138
Diffstat (limited to 'target/linux/rdc')
-rw-r--r--target/linux/rdc/files/arch/i386/mach-rdc/platform.c4
-rw-r--r--target/linux/rdc/files/arch/i386/mach-rdc/wdt.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/rdc/files/arch/i386/mach-rdc/platform.c b/target/linux/rdc/files/arch/i386/mach-rdc/platform.c
index 78f1d0b7c6..877287b856 100644
--- a/target/linux/rdc/files/arch/i386/mach-rdc/platform.c
+++ b/target/linux/rdc/files/arch/i386/mach-rdc/platform.c
@@ -56,7 +56,7 @@ static struct platform_device rdc_flash_device = {
/* LEDS */
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)
static struct gpio_led default_leds[] = {
- { .name = "rdc:dmz", .gpio = 1, .active_low = 1, },
+ { .name = "rdc:dmz", .gpio = 1, },
};
static struct gpio_led_platform_data rdc321x_led_data = {
@@ -73,7 +73,7 @@ static struct platform_device rdc321x_leds = {
};
#else
static struct platform_device rdc321x_leds = {
- .name "rdc321x-leds",
+ .name = "rdc321x-leds",
.id = -1,
.num_resources = 0,
};
diff --git a/target/linux/rdc/files/arch/i386/mach-rdc/wdt.c b/target/linux/rdc/files/arch/i386/mach-rdc/wdt.c
index 39956f35a7..13b69f68ab 100644
--- a/target/linux/rdc/files/arch/i386/mach-rdc/wdt.c
+++ b/target/linux/rdc/files/arch/i386/mach-rdc/wdt.c
@@ -249,7 +249,7 @@ static struct platform_driver rdc321x_wdt_driver = {
.remove = rdc321x_wdt_remove,
.driver = {
.owner = THIS_MODULE,
- .name = "rdc321x_wdt",
+ .name = "rdc321x-wdt",
},
};