* [PATCH 1/2] iio: add IIO_TRIGGER dependency to STK8BA50
@ 2016-01-02 13:04 Vegard Nossum
2016-01-04 11:38 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Vegard Nossum @ 2016-01-02 13:04 UTC (permalink / raw)
To: Jonathan Cameron, Hartmut Knaack, Lars-Peter Clausen,
Peter Meerwald
Cc: linux-iio
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@oracle.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Hartmut Knaack <knaack.h@gmx.de>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Peter Meerwald <pmeerw@pmeerw.net>
Cc: linux-iio@vger.kernel.org
---
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.
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/2] iio: add IIO_TRIGGER dependency to STK8BA50
2016-01-02 13:04 [PATCH 1/2] iio: add IIO_TRIGGER dependency to STK8BA50 Vegard Nossum
@ 2016-01-04 11:38 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2016-01-04 11:38 UTC (permalink / raw)
To: Vegard Nossum, Hartmut Knaack, Lars-Peter Clausen, Peter Meerwald
Cc: linux-iio
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@oracle.com>
> Cc: Jonathan Cameron <jic23@kernel.org>
> Cc: Hartmut Knaack <knaack.h@gmx.de>
> Cc: Lars-Peter Clausen <lars@metafoo.de>
> Cc: Peter Meerwald <pmeerw@pmeerw.net>
> Cc: linux-iio@vger.kernel.org
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.
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-04 11:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-02 13:04 [PATCH 1/2] iio: add IIO_TRIGGER dependency to STK8BA50 Vegard Nossum
2016-01-04 11:38 ` Jonathan Cameron
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.