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-ds1307.c | |
parent | rtc: isl12022: add support for temperature sensor (diff) | |
download | linux-e59b3c730b44f042540319d62cba73054fd928c8.tar.xz 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-ds1307.c')
-rw-r--r-- | drivers/rtc/rtc-ds1307.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c index d51565bcc189..7c2276cf5514 100644 --- a/drivers/rtc/rtc-ds1307.c +++ b/drivers/rtc/rtc-ds1307.c @@ -11,6 +11,7 @@ #include <linux/bcd.h> #include <linux/i2c.h> #include <linux/init.h> +#include <linux/kstrtox.h> #include <linux/mod_devicetable.h> #include <linux/module.h> #include <linux/property.h> |