aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/files-2.6.30/arch/x86/mach-rdc321x/platform.c
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-03-04 07:54:25 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-03-04 07:54:25 +0000
commit34268bb98656a77d2cee7b2d9b4d76f2652f24aa (patch)
treed70ae53bc0b9f3f0ef81645b6ff944e29fc665c1 /target/linux/rdc/files-2.6.30/arch/x86/mach-rdc321x/platform.c
parentd7b763de9f80c8b940abe5ce3ca752b4d53e240f (diff)
downloadmaster-187ad058-34268bb98656a77d2cee7b2d9b4d76f2652f24aa.tar.gz
master-187ad058-34268bb98656a77d2cee7b2d9b4d76f2652f24aa.tar.bz2
master-187ad058-34268bb98656a77d2cee7b2d9b4d76f2652f24aa.zip
[rdc] add a new southbridge driver which registers the gpio and watchdog platform devices
This also fixes the watchdog logic and abstracts the access to the RDC321x southbridge PCI configuration register space. Based on a patch by Bernhard Loos. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19972 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc/files-2.6.30/arch/x86/mach-rdc321x/platform.c')
-rw-r--r--target/linux/rdc/files-2.6.30/arch/x86/mach-rdc321x/platform.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/target/linux/rdc/files-2.6.30/arch/x86/mach-rdc321x/platform.c b/target/linux/rdc/files-2.6.30/arch/x86/mach-rdc321x/platform.c
index 3c2cec721a..d0a8578ef8 100644
--- a/target/linux/rdc/files-2.6.30/arch/x86/mach-rdc321x/platform.c
+++ b/target/linux/rdc/files-2.6.30/arch/x86/mach-rdc321x/platform.c
@@ -95,13 +95,6 @@ static struct platform_device rdc321x_leds = {
}
};
-/* Watchdog */
-static struct platform_device rdc321x_wdt = {
- .name = "rdc321x-wdt",
- .id = -1,
- .num_resources = 0,
-};
-
/* Button */
static struct gpio_keys_button rdc321x_gpio_btn[] = {
{
@@ -128,7 +121,6 @@ static struct platform_device rdc321x_button = {
static struct platform_device *rdc321x_devs[] = {
&rdc_flash_device,
&rdc321x_leds,
- &rdc321x_wdt,
&rdc321x_button,
};