watchdog: fix a small number of "watchog" typos in comments
All typos in comments, should not affect functionality. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
This commit is contained in:
Родитель
d674ee232b
Коммит
d08ec7bea2
|
@ -25,7 +25,7 @@
|
||||||
/* If the kernel parameter wdt=1, the watchdog will be enabled at boot.
|
/* If the kernel parameter wdt=1, the watchdog will be enabled at boot.
|
||||||
* Also, the wdt_period sets the watchdog timer period timeout.
|
* Also, the wdt_period sets the watchdog timer period timeout.
|
||||||
* For E500 cpus the wdt_period sets which bit changing from 0->1 will
|
* For E500 cpus the wdt_period sets which bit changing from 0->1 will
|
||||||
* trigger a watchog timeout. This watchdog timeout will occur 3 times, the
|
* trigger a watchdog timeout. This watchdog timeout will occur 3 times, the
|
||||||
* first time nothing will happen, the second time a watchdog exception will
|
* first time nothing will happen, the second time a watchdog exception will
|
||||||
* occur, and the final time the board will reset.
|
* occur, and the final time the board will reset.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#define VIA_WDT_CONF_MMIO 0x02 /* 1: enable watchdog MMIO */
|
#define VIA_WDT_CONF_MMIO 0x02 /* 1: enable watchdog MMIO */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The MMIO region contains the watchog control register and the
|
* The MMIO region contains the watchdog control register and the
|
||||||
* hardware timer counter.
|
* hardware timer counter.
|
||||||
*/
|
*/
|
||||||
#define VIA_WDT_MMIO_LEN 8 /* MMIO region length in bytes */
|
#define VIA_WDT_MMIO_LEN 8 /* MMIO region length in bytes */
|
||||||
|
@ -82,7 +82,7 @@ static inline void wdt_reset(void)
|
||||||
/*
|
/*
|
||||||
* Timer tick: the timer will make sure that the watchdog timer hardware
|
* Timer tick: the timer will make sure that the watchdog timer hardware
|
||||||
* is being reset in time. The conditions to do this are:
|
* is being reset in time. The conditions to do this are:
|
||||||
* 1) the watchog timer has been started and /dev/watchdog is open
|
* 1) the watchdog timer has been started and /dev/watchdog is open
|
||||||
* and there is still time left before userspace should send the
|
* and there is still time left before userspace should send the
|
||||||
* next heartbeat/ping. (note: the internal heartbeat is much smaller
|
* next heartbeat/ping. (note: the internal heartbeat is much smaller
|
||||||
* then the external/userspace heartbeat).
|
* then the external/userspace heartbeat).
|
||||||
|
|
Загрузка…
Ссылка в новой задаче