summaryrefslogtreecommitdiff
path: root/drivers/hwmon/ads1015.c
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-11 17:08:19 -0700
commit9010624cc5b446d3377dde4753eecbaf945f3a41 (patch)
tree7cd16e60cfb7b09462a60e12817c1440e4baa76c /drivers/hwmon/ads1015.c
parent8f05bcc33e749dc6b6d1fefe2d0c1a97150b90b4 (diff)
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/ads1015.c')
-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 {