aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/files/arch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-10-12 11:21:59 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-10-12 11:21:59 +0000
commitdfb47af8440180bb834027f4528e00c8540328ba (patch)
tree5afdec4e3dc37ac2ba81473961a282396832a71e /target/linux/rdc/files/arch
parent68bc88d5e1a9f2c25392e3052a6a5fb6cabec009 (diff)
downloadupstream-dfb47af8440180bb834027f4528e00c8540328ba.tar.gz
upstream-dfb47af8440180bb834027f4528e00c8540328ba.tar.bz2
upstream-dfb47af8440180bb834027f4528e00c8540328ba.zip
Upgrade rdc to 2.6.23, fix the r6040 driver printk's
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9267 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc/files/arch')
-rw-r--r--target/linux/rdc/files/arch/i386/mach-rdc/platform.c14
1 files changed, 1 insertions, 13 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 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 <linux/device.h>
#include <linux/platform_device.h>
#include <linux/version.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)
#include <linux/leds.h>
-#endif
#include <asm/gpio.h>
-#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 = {