aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/gpio-fan.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2022-11-06 19:34:16 +0000
committerGuenter Roeck <[email protected]>2022-12-05 00:45:02 +0000
commit25f986887dd54a93edcc5cb499b2e42f4d9c359c (patch)
tree6cc3903df75ea1dd1b8af9772acbb01fd8e96c75 /drivers/hwmon/gpio-fan.c
parentdocs: hwmon: (smpro-hwmon) Improve grammar and formatting (diff)
downloadkernel-25f986887dd54a93edcc5cb499b2e42f4d9c359c.tar.gz
kernel-25f986887dd54a93edcc5cb499b2e42f4d9c359c.zip
hwmon: Include <linux/kstrtox.h> when appropriate
The kstrto<something>() functions have been moved from kernel.h to kstrtox.h. So, include the latter directly in the appropriate files. Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/51688cf50bda44e2731381a31287c62319388783.1667763218.git.christophe.jaillet@wanadoo.fr Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/hwmon/gpio-fan.c')
-rw-r--r--drivers/hwmon/gpio-fan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/gpio-fan.c b/drivers/hwmon/gpio-fan.c
index ba408942dbe7..e75db6f64e8c 100644
--- a/drivers/hwmon/gpio-fan.c
+++ b/drivers/hwmon/gpio-fan.c
@@ -14,6 +14,7 @@
#include <linux/irq.h>
#include <linux/platform_device.h>
#include <linux/err.h>
+#include <linux/kstrtox.h>
#include <linux/mutex.h>
#include <linux/hwmon.h>
#include <linux/gpio/consumer.h>