mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-20 03:48:38 +03:00
Led is not active low by default, register the watchdog
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9138 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
714740033c
commit
1d54109dcb
@ -56,7 +56,7 @@ static struct platform_device rdc_flash_device = {
|
|||||||
/* LEDS */
|
/* LEDS */
|
||||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)
|
||||||
static struct gpio_led default_leds[] = {
|
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 = {
|
static struct gpio_led_platform_data rdc321x_led_data = {
|
||||||
@ -73,7 +73,7 @@ static struct platform_device rdc321x_leds = {
|
|||||||
};
|
};
|
||||||
#else
|
#else
|
||||||
static struct platform_device rdc321x_leds = {
|
static struct platform_device rdc321x_leds = {
|
||||||
.name "rdc321x-leds",
|
.name = "rdc321x-leds",
|
||||||
.id = -1,
|
.id = -1,
|
||||||
.num_resources = 0,
|
.num_resources = 0,
|
||||||
};
|
};
|
||||||
|
@ -249,7 +249,7 @@ static struct platform_driver rdc321x_wdt_driver = {
|
|||||||
.remove = rdc321x_wdt_remove,
|
.remove = rdc321x_wdt_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.name = "rdc321x_wdt",
|
.name = "rdc321x-wdt",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user