diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-11-06 20:34:16 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-12-04 16:45:02 -0800 |
commit | 25f986887dd54a93edcc5cb499b2e42f4d9c359c (patch) | |
tree | 6cc3903df75ea1dd1b8af9772acbb01fd8e96c75 /include/linux/hwmon-sysfs.h | |
parent | c1cb98c55f470447479298aaec7f92219562613e (diff) | |
download | linux-stable-25f986887dd54a93edcc5cb499b2e42f4d9c359c.tar.gz linux-stable-25f986887dd54a93edcc5cb499b2e42f4d9c359c.tar.bz2 linux-stable-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 <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/51688cf50bda44e2731381a31287c62319388783.1667763218.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include/linux/hwmon-sysfs.h')
-rw-r--r-- | include/linux/hwmon-sysfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hwmon-sysfs.h b/include/linux/hwmon-sysfs.h index cb26d02f52f3..d896713359cd 100644 --- a/include/linux/hwmon-sysfs.h +++ b/include/linux/hwmon-sysfs.h @@ -8,6 +8,7 @@ #define _LINUX_HWMON_SYSFS_H #include <linux/device.h> +#include <linux/kstrtox.h> struct sensor_device_attribute{ struct device_attribute dev_attr; |