summaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2017-05-21 23:34:39 +0300
committerGuenter Roeck <linux@roeck-us.net>2017-06-12 03:08:19 +0300
commit9010624cc5b446d3377dde4753eecbaf945f3a41 (patch)
tree7cd16e60cfb7b09462a60e12817c1440e4baa76c /drivers/hwmon
parent8f05bcc33e749dc6b6d1fefe2d0c1a97150b90b4 (diff)
downloadlinux-9010624cc5b446d3377dde4753eecbaf945f3a41.tar.xz
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/hwmon')
-rw-r--r--drivers/hwmon/ads1015.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/ads1015.c b/drivers/hwmon/ads1015.c
index 5140c27d16dd..357b42607164 100644
--- a/drivers/hwmon/ads1015.c
+++ b/drivers/hwmon/ads1015.c
@@ -34,7 +34,7 @@
#include <linux/of_device.h>
#include <linux/of.h>
-#include <linux/i2c/ads1015.h>
+#include <linux/platform_data/ads1015.h>
/* ADS1015 registers */
enum {