Martin Roth | 239b5df | 2022-07-26 22:18:26 -0600 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
Stefan Reinauer | de3206a | 2010-02-22 06:09:43 +0000 | [diff] [blame] | 3 | #ifndef WATCHDOG_H |
| 4 | #define WATCHDOG_H |
| 5 | |
Julius Werner | cd49cce | 2019-03-05 16:53:33 -0800 | [diff] [blame] | 6 | #if CONFIG(USE_WATCHDOG_ON_BOOT) |
Stefan Reinauer | de3206a | 2010-02-22 06:09:43 +0000 | [diff] [blame] | 7 | void watchdog_off(void); |
| 8 | #else |
Lee Leahy | f00e446 | 2017-03-07 13:17:49 -0800 | [diff] [blame] | 9 | #define watchdog_off() { while (0); } |
Stefan Reinauer | de3206a | 2010-02-22 06:09:43 +0000 | [diff] [blame] | 10 | #endif |
| 11 | |
| 12 | #endif /* WATCHDOG_H */ |