From: Jonathan Cameron <jic23@kernel.org>
To: Vegard Nossum <vegard.nossum@oracle.com>,
Hartmut Knaack <knaack.h@gmx.de>,
Lars-Peter Clausen <lars@metafoo.de>,
Peter Meerwald <pmeerw@pmeerw.net>
Cc: linux-iio@vger.kernel.org
Subject: Re: [PATCH 1/2] iio: add IIO_TRIGGER dependency to STK8BA50
Date: Mon, 4 Jan 2016 11:38:20 +0000 [thread overview]
Message-ID: <568A59AC.6020608@kernel.org> (raw)
In-Reply-To: <1451739880-14178-1-git-send-email-vegard.nossum@oracle.com>
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.
>
prev parent reply other threads:[~2016-01-04 11:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=568A59AC.6020608@kernel.org \
--to=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
--cc=vegard.nossum@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.