iio:st_sensors fix build when !CONFIG_IIO_TRIGGER
authorJonathan Cameron <jic23@kernel.org>
Sat, 9 Feb 2013 10:49:00 +0000 (10:49 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 9 Feb 2013 15:22:29 +0000 (15:22 +0000)
commit8ce4a56a52bf566659768a9e46e759e7cd5f33d9
tree427bc7884341bebc2fb5f96e3ebf1beb892a790e
parentaaa300262c5912bda34c9cf871719209eae01b06
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>
drivers/iio/accel/st_accel_core.c
drivers/iio/accel/st_accel_i2c.c
drivers/iio/accel/st_accel_spi.c
drivers/iio/gyro/st_gyro_core.c
drivers/iio/gyro/st_gyro_i2c.c
drivers/iio/gyro/st_gyro_spi.c
drivers/iio/magnetometer/st_magn_core.c
drivers/iio/magnetometer/st_magn_i2c.c
drivers/iio/magnetometer/st_magn_spi.c