summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2017-05-21 22:34:39 +0200
committerGuenter Roeck <linux@roeck-us.net>2017-06-12 02:08:19 +0200
commit9010624cc5b446d3377dde4753eecbaf945f3a41 (patch)
tree7cd16e60cfb7b09462a60e12817c1440e4baa76c /drivers/iio
parenthwmon: (adt7475) temperature smoothing (diff)
downloadlinux-9010624cc5b446d3377dde4753eecbaf945f3a41.tar.xz
linux-9010624cc5b446d3377dde4753eecbaf945f3a41.zip
hwmon: (ads1015) move header file out of I2C realm
include/linux/i2c is not for client devices. Move the header file to a more appropriate location. Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/adc/ti-ads1015.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/ti-ads1015.c b/drivers/iio/adc/ti-ads1015.c
index f76d979fb7e8..884b8e461b17 100644
--- a/drivers/iio/adc/ti-ads1015.c
+++ b/drivers/iio/adc/ti-ads1015.c
@@ -23,7 +23,7 @@
#include <linux/mutex.h>
#include <linux/delay.h>
-#include <linux/i2c/ads1015.h>
+#include <linux/platform_data/ads1015.h>
#include <linux/iio/iio.h>
#include <linux/iio/types.h>