* [PATCH] Fix build failure for gp2ap020a00f.c
@ 2013-12-02 11:25 Russell King - ARM Linux
2013-12-02 21:13 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Russell King - ARM Linux @ 2013-12-02 11:25 UTC (permalink / raw)
To: Jacek Anaszewski, Jonathan Cameron; +Cc: linux-iio
drivers/built-in.o: In function `gp2ap020a00f_thresh_event_handler':
powercap_sys.c:(.text+0x15f90c): undefined reference to `irq_work_queue'
make[1]: *** [vmlinux] Error 1
make[1]: Target `uImage' not remade because of errors.
make: *** [sub-make] Error 2
make: Target `uImage' not remade because of errors.
You need the IRQ work support, but GP2AP020A00F is not selecting this
symbol.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---
drivers/iio/light/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
index b0d65df3ede2..a022f27c6690 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -43,6 +43,7 @@ config GP2AP020A00F
depends on I2C
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
+ select IRQ_WORK
help
Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip
hooked to an I2C bus.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix build failure for gp2ap020a00f.c
2013-12-02 11:25 [PATCH] Fix build failure for gp2ap020a00f.c Russell King - ARM Linux
@ 2013-12-02 21:13 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2013-12-02 21:13 UTC (permalink / raw)
To: Russell King - ARM Linux, Jacek Anaszewski; +Cc: linux-iio
On 12/02/13 11:25, Russell King - ARM Linux wrote:
> drivers/built-in.o: In function `gp2ap020a00f_thresh_event_handler':
> powercap_sys.c:(.text+0x15f90c): undefined reference to `irq_work_queue'
> make[1]: *** [vmlinux] Error 1
> make[1]: Target `uImage' not remade because of errors.
> make: *** [sub-make] Error 2
> make: Target `uImage' not remade because of errors.
>
> You need the IRQ work support, but GP2AP020A00F is not selecting this
> symbol.
>
> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Thanks Russell,
Applied to the fixes-togreg branch of
git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git
Jonathan
> ---
> drivers/iio/light/Kconfig | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
> index b0d65df3ede2..a022f27c6690 100644
> --- a/drivers/iio/light/Kconfig
> +++ b/drivers/iio/light/Kconfig
> @@ -43,6 +43,7 @@ config GP2AP020A00F
> depends on I2C
> select IIO_BUFFER
> select IIO_TRIGGERED_BUFFER
> + select IRQ_WORK
> help
> Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip
> hooked to an I2C bus.
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-02 21:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-02 11:25 [PATCH] Fix build failure for gp2ap020a00f.c Russell King - ARM Linux
2013-12-02 21:13 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).