diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2018-03-13 22:23:28 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-03-17 20:59:20 +0100 |
commit | 5a0b8cb46624cc17fda676d6ae44fb72504f0ad9 (patch) | |
tree | 7b82e9c7113646b2c27446ea7b3583c0268f7af5 /drivers/iio/pressure | |
parent | iio: stx104: Implement get_multiple callback (diff) | |
download | linux-5a0b8cb46624cc17fda676d6ae44fb72504f0ad9.tar.xz linux-5a0b8cb46624cc17fda676d6ae44fb72504f0ad9.zip |
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/pressure')
-rw-r--r-- | drivers/iio/pressure/cros_ec_baro.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/pressure/cros_ec_baro.c b/drivers/iio/pressure/cros_ec_baro.c index 4599fde4dd25..87c07af9181f 100644 --- a/drivers/iio/pressure/cros_ec_baro.c +++ b/drivers/iio/pressure/cros_ec_baro.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> @@ -28,8 +29,6 @@ #include <linux/slab.h> #include <linux/platform_device.h> -#include "../common/cros_ec_sensors/cros_ec_sensors_core.h" - /* * One channel for pressure, the other for timestamp. */ |