summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-01-02 20:28:30 +0100
committerJonathan Cameron <jic23@kernel.org>2017-01-10 20:54:53 +0100
commit8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1 (patch)
treea35b916c2fab0685c86c35a8c024c7436cbfa2ff /drivers/iio/accel
parentiio:buffer:iio_push_to_buffers_with_timestamp fix kernel-doc. (diff)
downloadlinux-8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1.tar.xz
linux-8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1.zip
iio:kfifo_buf header include push down.
As a precursor to splitting buffer.h, lets make sure all drivers include the relevant headers rather than relying on picking them up from kfifo_buf.h. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'drivers/iio/accel')
-rw-r--r--drivers/iio/accel/ssp_accel_sensor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/accel/ssp_accel_sensor.c b/drivers/iio/accel/ssp_accel_sensor.c
index 31db00970fa0..6b54008e29c7 100644
--- a/drivers/iio/accel/ssp_accel_sensor.c
+++ b/drivers/iio/accel/ssp_accel_sensor.c
@@ -15,6 +15,7 @@
#include <linux/iio/common/ssp_sensors.h>
#include <linux/iio/iio.h>
+#include <linux/iio/buffer.h>
#include <linux/iio/kfifo_buf.h>
#include <linux/module.h>
#include <linux/platform_device.h>