Led is not active low by default, register the watchdog
authorFlorian Fainelli <florian@openwrt.org>
Fri, 5 Oct 2007 13:50:21 +0000 (13:50 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 5 Oct 2007 13:50:21 +0000 (13:50 +0000)
SVN-Revision: 9138

target/linux/rdc/files/arch/i386/mach-rdc/platform.c
target/linux/rdc/files/arch/i386/mach-rdc/wdt.c

index 78f1d0b7c634c4c046ff3e1d5048e7e2748b497c..877287b856b48a116b1525dfd7010220cff9308f 100644 (file)
@@ -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,
 };
index 39956f35a77bc4b0891fd141def7b55d224debf7..13b69f68ab8ebe66ccded10323bb770715b41583 100644 (file)
@@ -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",
        },
 };