diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2019-07-04 17:38:01 +0200 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2019-07-08 20:46:48 +0200 |
commit | 053bc5764bb0a84ef0b26a8e4ddd3e2f4b4f8215 (patch) | |
tree | 29ee28c1b4d41eb2e7beef846e7ac7b5058c60e6 | |
parent | 8d209eb0b167ac6998ef330150a3960032a31c50 (diff) |
watchdog: ie6xx_wdt: Use spinlock_t instead of struct spinlock
For spinlocks the type spinlock_t should be used instead of "struct
spinlock".
Use spinlock_t for spinlock's definition.
Cc: Wim Van Sebroeck <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: [email protected]
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
-rw-r--r-- | drivers/watchdog/ie6xx_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/ie6xx_wdt.c b/drivers/watchdog/ie6xx_wdt.c index c2de1ead0b56..8f28993fab8b 100644 --- a/drivers/watchdog/ie6xx_wdt.c +++ b/drivers/watchdog/ie6xx_wdt.c @@ -66,7 +66,7 @@ MODULE_PARM_DESC(resetmode, static struct { unsigned short sch_wdtba; - struct spinlock unlock_sequence; + spinlock_t unlock_sequence; #ifdef CONFIG_DEBUG_FS struct dentry *debugfs; #endif |