Stefan Reinauer | de3206a | 2010-02-22 06:09:43 +0000 | [diff] [blame] | 1 | #ifndef WATCHDOG_H |
2 | #define WATCHDOG_H | ||||
3 | |||||
Martin Roth | 9634547 | 2017-06-24 14:13:53 -0600 | [diff] [blame] | 4 | #if IS_ENABLED(CONFIG_USE_WATCHDOG_ON_BOOT) |
Stefan Reinauer | de3206a | 2010-02-22 06:09:43 +0000 | [diff] [blame] | 5 | void watchdog_off(void); |
6 | #else | ||||
Lee Leahy | f00e446 | 2017-03-07 13:17:49 -0800 | [diff] [blame] | 7 | #define watchdog_off() { while (0); } |
Stefan Reinauer | de3206a | 2010-02-22 06:09:43 +0000 | [diff] [blame] | 8 | #endif |
9 | |||||
10 | #endif /* WATCHDOG_H */ |