diff options
Diffstat (limited to 'drivers/watchdog/s3c2410_wdt.c')
| -rw-r--r-- | drivers/watchdog/s3c2410_wdt.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/watchdog/s3c2410_wdt.c b/drivers/watchdog/s3c2410_wdt.c index e4cebef55177..300932580ded 100644 --- a/drivers/watchdog/s3c2410_wdt.c +++ b/drivers/watchdog/s3c2410_wdt.c | |||
| @@ -63,7 +63,7 @@ module_param(nowayout, int, 0); | |||
| 63 | module_param(soft_noboot, int, 0); | 63 | module_param(soft_noboot, int, 0); |
| 64 | module_param(debug, int, 0); | 64 | module_param(debug, int, 0); |
| 65 | 65 | ||
| 66 | MODULE_PARM_DESC(tmr_margin, "Watchdog tmr_margin in seconds. default=" | 66 | MODULE_PARM_DESC(tmr_margin, "Watchdog tmr_margin in seconds. (default=" |
| 67 | __MODULE_STRING(CONFIG_S3C2410_WATCHDOG_DEFAULT_TIME) ")"); | 67 | __MODULE_STRING(CONFIG_S3C2410_WATCHDOG_DEFAULT_TIME) ")"); |
| 68 | MODULE_PARM_DESC(tmr_atboot, | 68 | MODULE_PARM_DESC(tmr_atboot, |
| 69 | "Watchdog is started at boot time if set to 1, default=" | 69 | "Watchdog is started at boot time if set to 1, default=" |
| @@ -71,8 +71,8 @@ MODULE_PARM_DESC(tmr_atboot, | |||
| 71 | MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default=" | 71 | MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default=" |
| 72 | __MODULE_STRING(WATCHDOG_NOWAYOUT) ")"); | 72 | __MODULE_STRING(WATCHDOG_NOWAYOUT) ")"); |
| 73 | MODULE_PARM_DESC(soft_noboot, "Watchdog action, set to 1 to ignore reboots, " | 73 | MODULE_PARM_DESC(soft_noboot, "Watchdog action, set to 1 to ignore reboots, " |
| 74 | "0 to reboot (default depends on ONLY_TESTING)"); | 74 | "0 to reboot (default 0)"); |
| 75 | MODULE_PARM_DESC(debug, "Watchdog debug, set to >1 for debug, (default 0)"); | 75 | MODULE_PARM_DESC(debug, "Watchdog debug, set to >1 for debug (default 0)"); |
| 76 | 76 | ||
| 77 | static unsigned long open_lock; | 77 | static unsigned long open_lock; |
| 78 | static struct device *wdt_dev; /* platform device attached to */ | 78 | static struct device *wdt_dev; /* platform device attached to */ |
| @@ -426,8 +426,7 @@ static int __devinit s3c2410wdt_probe(struct platform_device *pdev) | |||
| 426 | wdt_mem = request_mem_region(res->start, size, pdev->name); | 426 | wdt_mem = request_mem_region(res->start, size, pdev->name); |
| 427 | if (wdt_mem == NULL) { | 427 | if (wdt_mem == NULL) { |
| 428 | dev_err(dev, "failed to get memory region\n"); | 428 | dev_err(dev, "failed to get memory region\n"); |
| 429 | ret = -ENOENT; | 429 | return -EBUSY; |
| 430 | goto err_req; | ||
| 431 | } | 430 | } |
| 432 | 431 | ||
| 433 | wdt_base = ioremap(res->start, size); | 432 | wdt_base = ioremap(res->start, size); |
