watchdog: Include <linux/kstrtox.h> when appropriate
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 5 Nov 2022 11:09:34 +0000 (12:09 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sat, 18 Feb 2023 14:11:35 +0000 (15:11 +0100)
commita243cb9357cc21a441c464e63b151e292a732d56
tree0adb178c0b9a1297ef75cc97837f8a2646056494
parent07bec0e09c1afbab4c5674fd2341f4f52d594f30
watchdog: Include <linux/kstrtox.h> when appropriate

The kstrto<something>() functions have been moved from kernel.h to
kstrtox.h.

So, in order to eventually remove <linux/kernel.h> from <linux/watchdog.h>,
include the latter directly in the appropriate files.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/08fd5512e569558231247515c04c8596a1d11004.1667646547.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/aspeed_wdt.c
drivers/watchdog/watchdog_dev.c