summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-08-06 20:20:39 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2020-08-19 21:44:11 +0200
commit7dbad03ebcb924cde142f7477d65a54ffb1166a3 (patch)
tree0a373f24c8ea80c765875998f09bd135186a9c28 /drivers/power
parent95b415efff2cacb3ab3a159cc7aad1ec1ca3b81e (diff)
downloadlinux-7dbad03ebcb924cde142f7477d65a54ffb1166a3.tar.gz
linux-7dbad03ebcb924cde142f7477d65a54ffb1166a3.tar.bz2
linux-7dbad03ebcb924cde142f7477d65a54ffb1166a3.zip
ARM: s3c: adc: move header to linux/soc/samsung
There are multiple drivers using the private adc interface. It seems unlikely that they would ever get converted to iio, so make the current state official by making the header file global. The s3c2410_ts driver needs a couple of register definitions as well. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Acked-by: Sebastian Reichel <sre@kernel.org> Link: https://lore.kernel.org/r/20200806182059.2431-22-krzk@kernel.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/s3c_adc_battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/s3c_adc_battery.c b/drivers/power/supply/s3c_adc_battery.c
index 3d00b35cafc9..60b7f41ab063 100644
--- a/drivers/power/supply/s3c_adc_battery.c
+++ b/drivers/power/supply/s3c_adc_battery.c
@@ -22,7 +22,7 @@
#include <linux/init.h>
#include <linux/module.h>
-#include <plat/adc.h>
+#include <linux/soc/samsung/s3c-adc.h>
#define BAT_POLL_INTERVAL 10000 /* ms */
#define JITTER_DELAY 500 /* ms */