summaryrefslogtreecommitdiffstats
path: root/drivers/iio/gyro
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-01-02 19:28:30 +0000
committerJonathan Cameron <jic23@kernel.org>2017-01-10 19:54:53 +0000
commit8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1 (patch)
treea35b916c2fab0685c86c35a8c024c7436cbfa2ff /drivers/iio/gyro
parentd4ad4f4b721ad76e28b73e32b8602c011e281893 (diff)
downloadlinux-stable-8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1.tar.gz
linux-stable-8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1.tar.bz2
linux-stable-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/gyro')
-rw-r--r--drivers/iio/gyro/ssp_gyro_sensor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/gyro/ssp_gyro_sensor.c b/drivers/iio/gyro/ssp_gyro_sensor.c
index 1f25f406c545..33a7f0a94ce5 100644
--- a/drivers/iio/gyro/ssp_gyro_sensor.c
+++ b/drivers/iio/gyro/ssp_gyro_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>