From 4bc640743a56ddad268e8d74807c6b6b9fc42956 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Fri, 12 Oct 2007 11:21:59 +0000 Subject: Upgrade rdc to 2.6.23, fix the r6040 driver printk's SVN-Revision: 9267 --- target/linux/rdc/files/arch/i386/mach-rdc/platform.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'target/linux/rdc/files/arch/i386') 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 877287b856..0a607223c5 100644 --- a/target/linux/rdc/files/arch/i386/mach-rdc/platform.c +++ b/target/linux/rdc/files/arch/i386/mach-rdc/platform.c @@ -29,14 +29,10 @@ #include #include #include -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23) #include -#endif #include -#define PFX "rdc321x: " - /* Flash */ static struct resource rdc_flash_resource[] = { [0] = { @@ -54,9 +50,8 @@ 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, }, + { .name = "rdc321x:dmz", .gpio = 1, }, }; static struct gpio_led_platform_data rdc321x_led_data = { @@ -71,13 +66,6 @@ static struct platform_device rdc321x_leds = { .platform_data = &rdc321x_led_data, } }; -#else -static struct platform_device rdc321x_leds = { - .name = "rdc321x-leds", - .id = -1, - .num_resources = 0, -}; -#endif /* Watchdog */ static struct platform_device rdc321x_wdt = { -- cgit v1.2.3