On 02/01/16 13:04, Vegard Nossum wrote: > Ran into this on UML: > > drivers/iio/accel/stk8ba50.c: In function ‘stk8ba50_data_rdy_trigger_set_state’: > drivers/iio/accel/stk8ba50.c:163:9: error: implicit declaration of function ‘iio_trigger_get_drvdata’ [-Werror=implicit-function-declaration] > > iio_trigger_get_drvdata() is defined only when IIO_TRIGGER is selected. > > Signed-off-by: Vegard Nossum <vegard.nossum@xxxxxxxxxx> > Cc: Jonathan Cameron <jic23@xxxxxxxxxx> > Cc: Hartmut Knaack <knaack.h@xxxxxx> > Cc: Lars-Peter Clausen <lars@xxxxxxxxxx> > Cc: Peter Meerwald <pmeerw@xxxxxxxxxx> > Cc: linux-iio@xxxxxxxxxxxxxxx Applied to the fixes-togreg branch of iio.git and marked for stable. Thanks, Jonathan > --- > drivers/iio/accel/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig > index 969428d..16cc5c6 100644 > --- a/drivers/iio/accel/Kconfig > +++ b/drivers/iio/accel/Kconfig > @@ -173,6 +173,7 @@ config STK8312 > config STK8BA50 > tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver" > depends on I2C > + depends on IIO_TRIGGER > help > Say yes here to get support for the Sensortek STK8BA50 3-axis > accelerometer. > -- 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