summaryrefslogtreecommitdiff
path: root/drivers/iio/light/cros_ec_light_prox.c
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2018-03-14 00:23:28 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-03-17 22:59:20 +0300
commit5a0b8cb46624cc17fda676d6ae44fb72504f0ad9 (patch)
tree7b82e9c7113646b2c27446ea7b3583c0268f7af5 /drivers/iio/light/cros_ec_light_prox.c
parentdcbe3ccd8ad5a0cef2a038478ad80e3d6f921815 (diff)
downloadlinux-5a0b8cb46624cc17fda676d6ae44fb72504f0ad9.tar.xz
iio: cros_ec: Move cros_ec_sensors_core.h in /include
Similar to other common iio frameworks, move cros_ec_sensors_core.h from drivers/iio/common/cros_ec_sensors/ to include/linux/iio/common. Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/light/cros_ec_light_prox.c')
-rw-r--r--drivers/iio/light/cros_ec_light_prox.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/light/cros_ec_light_prox.c b/drivers/iio/light/cros_ec_light_prox.c
index 8e8a0e7f78d1..fd1609e975ab 100644
--- a/drivers/iio/light/cros_ec_light_prox.c
+++ b/drivers/iio/light/cros_ec_light_prox.c
@@ -16,6 +16,7 @@
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/iio/buffer.h>
+#include <linux/iio/common/cros_ec_sensors_core.h>
#include <linux/iio/iio.h>
#include <linux/iio/kfifo_buf.h>
#include <linux/iio/trigger.h>
@@ -29,8 +30,6 @@
#include <linux/slab.h>
#include <linux/sysfs.h>
-#include "../common/cros_ec_sensors/cros_ec_sensors_core.h"
-
/*
* We only represent one entry for light or proximity. EC is merging different
* light sensors to return the what the eye would see. For proximity, we