X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Documentation%2Fwatchdog%2Fwatchdog-kernel-api.txt;h=9b93953f69cf866289fd8e49632860185bda1e6c;hb=821fd6f6cb6500cd04a6c7e8f701f9b311a5c2b3;hp=ea277478982f5aef1e122f33f55140e8c5010fc4;hpb=46d7cbb2c49ac93246aad9ac76b39ef2ac7bc41b;p=platform%2Fkernel%2Flinux-rpi.git diff --git a/Documentation/watchdog/watchdog-kernel-api.txt b/Documentation/watchdog/watchdog-kernel-api.txt index ea27747..9b93953 100644 --- a/Documentation/watchdog/watchdog-kernel-api.txt +++ b/Documentation/watchdog/watchdog-kernel-api.txt @@ -280,6 +280,12 @@ To disable the watchdog on reboot, the user must call the following helper: static inline void watchdog_stop_on_reboot(struct watchdog_device *wdd); +To disable the watchdog when unregistering the watchdog, the user must call +the following helper. Note that this will only stop the watchdog if the +nowayout flag is not set. + +static inline void watchdog_stop_on_unregister(struct watchdog_device *wdd); + To change the priority of the restart handler the following helper should be used: