diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-11-06 09:00:51 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-11-15 21:01:51 +0100 |
commit | e59b3c730b44f042540319d62cba73054fd928c8 (patch) | |
tree | aef4f1c277f1b590405cf2f5c03b8d03c4e6a4c6 /drivers/rtc/rtc-rv3029c2.c | |
parent | 8d816c1eaa752546fa3221f5027af0a667ff0c8f (diff) | |
download | linux-e59b3c730b44f042540319d62cba73054fd928c8.tar.gz linux-e59b3c730b44f042540319d62cba73054fd928c8.tar.bz2 linux-e59b3c730b44f042540319d62cba73054fd928c8.zip |
rtc: 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/786421fd0435a32206288904a1f879436a717529.1667721637.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-rv3029c2.c')
-rw-r--r-- | drivers/rtc/rtc-rv3029c2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-rv3029c2.c b/drivers/rtc/rtc-rv3029c2.c index eb483a30bd92..e4fdd47ae066 100644 --- a/drivers/rtc/rtc-rv3029c2.c +++ b/drivers/rtc/rtc-rv3029c2.c @@ -17,6 +17,7 @@ #include <linux/of.h> #include <linux/hwmon.h> #include <linux/hwmon-sysfs.h> +#include <linux/kstrtox.h> #include <linux/regmap.h> /* Register map */ |