diff options
Diffstat (limited to 'drivers/watchdog/wdrtas.c')
-rw-r--r-- | drivers/watchdog/wdrtas.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/watchdog/wdrtas.c b/drivers/watchdog/wdrtas.c index 3bde56bce63a..94ec22b9e66b 100644 --- a/drivers/watchdog/wdrtas.c +++ b/drivers/watchdog/wdrtas.c | |||
@@ -312,7 +312,7 @@ static long wdrtas_ioctl(struct file *file, unsigned int cmd, | |||
312 | { | 312 | { |
313 | int __user *argp = (void __user *)arg; | 313 | int __user *argp = (void __user *)arg; |
314 | int i; | 314 | int i; |
315 | static struct watchdog_info wdinfo = { | 315 | static const struct watchdog_info wdinfo = { |
316 | .options = WDRTAS_SUPPORTED_MASK, | 316 | .options = WDRTAS_SUPPORTED_MASK, |
317 | .firmware_version = 0, | 317 | .firmware_version = 0, |
318 | .identity = "wdrtas", | 318 | .identity = "wdrtas", |
@@ -542,7 +542,7 @@ static struct notifier_block wdrtas_notifier = { | |||
542 | /** | 542 | /** |
543 | * wdrtas_get_tokens - reads in RTAS tokens | 543 | * wdrtas_get_tokens - reads in RTAS tokens |
544 | * | 544 | * |
545 | * returns 0 on succes, <0 on failure | 545 | * returns 0 on success, <0 on failure |
546 | * | 546 | * |
547 | * wdrtas_get_tokens reads in the tokens for the RTAS calls used in | 547 | * wdrtas_get_tokens reads in the tokens for the RTAS calls used in |
548 | * this watchdog driver. It tolerates, if "get-sensor-state" and | 548 | * this watchdog driver. It tolerates, if "get-sensor-state" and |
@@ -598,7 +598,7 @@ static void wdrtas_unregister_devs(void) | |||
598 | /** | 598 | /** |
599 | * wdrtas_register_devs - registers the misc dev handlers | 599 | * wdrtas_register_devs - registers the misc dev handlers |
600 | * | 600 | * |
601 | * returns 0 on succes, <0 on failure | 601 | * returns 0 on success, <0 on failure |
602 | * | 602 | * |
603 | * wdrtas_register_devs registers the watchdog and temperature watchdog | 603 | * wdrtas_register_devs registers the watchdog and temperature watchdog |
604 | * misc devs | 604 | * misc devs |
@@ -630,7 +630,7 @@ static int wdrtas_register_devs(void) | |||
630 | /** | 630 | /** |
631 | * wdrtas_init - init function of the watchdog driver | 631 | * wdrtas_init - init function of the watchdog driver |
632 | * | 632 | * |
633 | * returns 0 on succes, <0 on failure | 633 | * returns 0 on success, <0 on failure |
634 | * | 634 | * |
635 | * registers the file handlers and the reboot notifier | 635 | * registers the file handlers and the reboot notifier |
636 | */ | 636 | */ |