summaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/files-2.6.30/arch/x86/mach-rdc321x/platform.c
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-04 07:54:25 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-04 07:54:25 +0000
commita0438292e5ade87d42ff1f7371957d297f740446 (patch)
treed70ae53bc0b9f3f0ef81645b6ff944e29fc665c1 /target/linux/rdc/files-2.6.30/arch/x86/mach-rdc321x/platform.c
parent0ecd32cf426510faa00c355f57080e140f6924fb (diff)
[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 3c2cec721..d0a8578ef 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,
};