mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
watchdog: nowayout is bool
nowayout is actually a boolean value. So make it bool for all watchdog device drivers. Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
This commit is contained in:
@@ -127,7 +127,7 @@ struct watchdog_device {
|
||||
#endif
|
||||
|
||||
/* Use the following function to set the nowayout feature */
|
||||
static inline void watchdog_set_nowayout(struct watchdog_device *wdd, int nowayout)
|
||||
static inline void watchdog_set_nowayout(struct watchdog_device *wdd, bool nowayout)
|
||||
{
|
||||
if (nowayout)
|
||||
set_bit(WDOG_NO_WAY_OUT, &wdd->status);
|
||||
|
Reference in New Issue
Block a user