On 02/09/2013 04:54 PM, Jonathan Cameron wrote: > Here is how I would suggest dealing with the issues pointed out by > Randy when buildling without trigger support. Sorry, miss send of this patch when I meant the ak8975 one that will follow in a mo. > > Jonathan > > Jonathan Cameron (2): > iio:triggers Protect functions in triggers.h from use when not > compiled > iio:st_sensors fix build when !CONFIG_IIO_TRIGGER > > drivers/iio/accel/st_accel_core.c | 9 +++++++-- > drivers/iio/accel/st_accel_i2c.c | 1 - > drivers/iio/accel/st_accel_spi.c | 1 - > drivers/iio/gyro/st_gyro_core.c | 9 +++++++-- > drivers/iio/gyro/st_gyro_i2c.c | 1 - > drivers/iio/gyro/st_gyro_spi.c | 1 - > drivers/iio/magnetometer/st_magn_core.c | 1 - > drivers/iio/magnetometer/st_magn_i2c.c | 1 - > drivers/iio/magnetometer/st_magn_spi.c | 1 - > include/linux/iio/trigger.h | 5 +++++ > 10 files changed, 19 insertions(+), 11 deletions(-) > -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html