Skip to content

Commit

Permalink
staging: iio: select IRQ_WORK for IIO_DUMMY_EVGEN
Browse files Browse the repository at this point in the history
The iio dummy code was recently changed to use irq_work_queue, but
that code is compiled into the kernel only if IRQ_WORK is set, so
we can get a link error here:

drivers/built-in.o: In function `iio_evgen_poke':
(.text+0x208a04): undefined reference to `irq_work_queue'

This changes the Kconfig file to match what other drivers do.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: fd2bb31 ("Staging: iio: Move evgen interrupt generation to irq_work")
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
  • Loading branch information
arndb authored and jic23 committed Oct 25, 2015
1 parent 6219f43 commit aea545f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/staging/iio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ source "drivers/staging/iio/resolver/Kconfig"
source "drivers/staging/iio/trigger/Kconfig"

config IIO_DUMMY_EVGEN
tristate
tristate
select IRQ_WORK

config IIO_SIMPLE_DUMMY
tristate "An example driver with no hardware requirements"
Expand Down

0 comments on commit aea545f

Please sign in to comment.