aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/st_accel_i2c.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2013-02-09 05:49:00 -0500
committerJonathan Cameron <jic23@kernel.org>2013-02-09 10:22:29 -0500
commit8ce4a56a52bf566659768a9e46e759e7cd5f33d9 (patch)
tree427bc7884341bebc2fb5f96e3ebf1beb892a790e /drivers/iio/accel/st_accel_i2c.c
parentaaa300262c5912bda34c9cf871719209eae01b06 (diff)
iio:st_sensors fix build when !CONFIG_IIO_TRIGGER
Partly a case of removing unused headers and partly a case of ifdefing out the iio_trigger_ops structures. This has come about because of an 'unusual' separation of code in this driver. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Reported-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Denis Ciocca <denis.ciocca@st.com>
Diffstat (limited to 'drivers/iio/accel/st_accel_i2c.c')
-rw-r--r--drivers/iio/accel/st_accel_i2c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/accel/st_accel_i2c.c b/drivers/iio/accel/st_accel_i2c.c
index 90b8ddfb61ed..ffc9d097e484 100644
--- a/drivers/iio/accel/st_accel_i2c.c
+++ b/drivers/iio/accel/st_accel_i2c.c
@@ -13,7 +13,6 @@
13#include <linux/slab.h> 13#include <linux/slab.h>
14#include <linux/i2c.h> 14#include <linux/i2c.h>
15#include <linux/iio/iio.h> 15#include <linux/iio/iio.h>
16#include <linux/iio/trigger.h>
17 16
18#include <linux/iio/common/st_sensors.h> 17#include <linux/iio/common/st_sensors.h>
19#include <linux/iio/common/st_sensors_i2c.h> 18#include <linux/iio/common/st_sensors_i2c.h>