aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/rdc321x_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/rdc321x_wdt.c')
-rw-r--r--drivers/watchdog/rdc321x_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/rdc321x_wdt.c b/drivers/watchdog/rdc321x_wdt.c
index 4733a99955dd..428f8a1583e8 100644
--- a/drivers/watchdog/rdc321x_wdt.c
+++ b/drivers/watchdog/rdc321x_wdt.c
@@ -237,7 +237,7 @@ static int __devinit rdc321x_wdt_probe(struct platform_device *pdev)
237 return -ENODEV; 237 return -ENODEV;
238 } 238 }
239 239
240 r = platform_get_resource_byname(pdev, IORESOURCE_MEM, "wdt-reg"); 240 r = platform_get_resource_byname(pdev, IORESOURCE_IO, "wdt-reg");
241 if (!r) { 241 if (!r) {
242 dev_err(&pdev->dev, "failed to get wdt-reg resource\n"); 242 dev_err(&pdev->dev, "failed to get wdt-reg resource\n");
243 return -ENODEV; 243 return -ENODEV;