mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
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>
This commit is contained in:
committed by
Guenter Roeck
parent
c1cb98c55f
commit
25f986887d
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user