aha/drivers/staging/iio
Paul Mundt e12274ba0c Staging: iio: Fix up the module build.
Both the max1363 and lis3l02dq modules rely on IIO trigger support in
their ring buffer implementations, which is presently a separate config
option. In the case of IIO_RING_BUFFER=y and IIO_TRIGGER=n, we end up
with the following:

ERROR: "iio_trigger_attach_poll_func" [drivers/staging/iio/adc/max1363.ko] undefined!
ERROR: "iio_trigger_dettach_poll_func" [drivers/staging/iio/adc/max1363.ko] undefined!
ERROR: "iio_trigger_unregister" [drivers/staging/iio/accel/lis3l02dq.ko] undefined!
ERROR: "iio_trigger_notify_done" [drivers/staging/iio/accel/lis3l02dq.ko] undefined!
ERROR: "iio_trigger_read_name" [drivers/staging/iio/accel/lis3l02dq.ko] undefined!
ERROR: "iio_trigger_poll" [drivers/staging/iio/accel/lis3l02dq.ko] undefined!
ERROR: "iio_trigger_attach_poll_func" [drivers/staging/iio/accel/lis3l02dq.ko] undefined!
ERROR: "iio_trigger_register" [drivers/staging/iio/accel/lis3l02dq.ko] undefined!
ERROR: "iio_free_trigger" [drivers/staging/iio/accel/lis3l02dq.ko] undefined!
ERROR: "iio_trigger_dettach_poll_func" [drivers/staging/iio/accel/lis3l02dq.ko] undefined!
ERROR: "iio_allocate_trigger" [drivers/staging/iio/accel/lis3l02dq.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

This adds an IIO_TRIGGER select for these two drivers conditional on
IIO ring buffer support. Caught with an SH randconfig in -next.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-11 12:23:05 -08:00
..
accel Staging: iio: Fix up the module build. 2009-12-11 12:23:05 -08:00
adc Staging: iio: Fix up the module build. 2009-12-11 12:23:05 -08:00
Documentation Staging: IIO: Initial documentation 2009-09-15 12:02:25 -07:00
light Staging: IIO: tsl2561: Drop unused module parameters 2009-10-04 22:53:43 +02:00
trigger Staging: iio: kconfig and make edits 2009-12-11 12:23:05 -08:00
chrdev.h Staging: iio: lots of doc fixes 2009-12-11 12:23:05 -08:00
iio.h Staging: iio: lots of doc fixes 2009-12-11 12:23:05 -08:00
industrialio-core.c staging: Complete sched.h removal from interrupt.h 2009-10-14 14:14:37 -07:00
industrialio-ring.c Staging: IIO: Add generic ring buffer support to the IIO core 2009-09-15 12:02:24 -07:00
industrialio-trigger.c Staging: IIO: Trigger support added to core. 2009-09-15 12:02:25 -07:00
Kconfig Staging: iio: kconfig and make edits 2009-12-11 12:23:05 -08:00
Makefile Staging: IIO: Periodic timer based trigger 2009-09-15 12:02:25 -07:00
ring_generic.h Staging: iio: lots of doc fixes 2009-12-11 12:23:05 -08:00
ring_hw.h Staging: IIO: VTI sca3000 series accelerometer driver (spi) 2009-09-15 12:02:24 -07:00
ring_sw.c Staging: iio: Fix type warnings 2009-09-15 12:02:26 -07:00
ring_sw.h Staging: iio: lots of doc fixes 2009-12-11 12:23:05 -08:00
sysfs.h Staging: iio: lots of doc fixes 2009-12-11 12:23:05 -08:00
TODO Staging: IIO: Add todo list for staging 2009-09-15 12:02:26 -07:00
trigger.h Staging: iio: lots of doc fixes 2009-12-11 12:23:05 -08:00
trigger_consumer.h Staging: iio: lots of doc fixes 2009-12-11 12:23:05 -08:00