OpenCloudOS-Kernel/drivers/staging/iio
Daniel Baluta ed170dedd1 staging: iio: dummy: Fix undefined symbol build error
CONFIG_SIMPLE_DUMMY_BUFFER compiles in iio_simple_dummy_buffer.c file
which uses functions from industrialio-trigger.c.

So, CONFIG_SIMPLE_DUMMY_BUFFER needs to select IIO_TRIGGER in order to
avoid build error like this:

> ERROR: "iio_trigger_notify_done" [drivers/staging/iio/iio_dummy.ko] undefined!
> ERROR: "iio_triggered_buffer_postenable" [drivers/staging/iio/iio_dummy.ko] undefined!
> ERROR: "iio_triggered_buffer_predisable" [drivers/staging/iio/iio_dummy.ko] undefined!
> ERROR: "iio_alloc_pollfunc" [drivers/staging/iio/iio_dummy.ko] undefined!
> ERROR: "iio_dealloc_pollfunc" [drivers/staging/iio/iio_dummy.ko] undefined!

Cc: Arnd Bergmann <arnd@arndb.de>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-03-14 18:36:20 +00:00
..
Documentation iio: core: Remove IIO_EV_TYPE_INSTANCE 2015-01-27 18:49:55 +00:00
accel staging: iio: accel: sca3000_core.c: Remove unused function 2014-12-26 12:40:11 +00:00
adc First round of fixes for IIO in the 4.0 cycle. Note a followup 2015-02-28 07:15:09 -08:00
addac staging: iio: addac: annotate Kconfig entries with module name information 2014-10-20 10:29:08 +08:00
cdc staging: iio: cdc: Don't put an else right after a return 2014-09-19 17:49:39 -07:00
frequency staging: iio: frequency: remove unnecessary semicolon 2014-09-28 22:19:04 -04:00
gyro Staging: iio: gyro: Added description for config symbol. 2014-10-20 10:29:08 +08:00
impedance-analyzer staging: iio: ad5933: fix format string warnings 2015-01-25 22:55:34 +00:00
light staging: iio: isl29028: deprecate use of isl in compatible string for isil 2015-02-16 17:56:02 -08:00
magnetometer staging: iio: hmc5843: Set iio name property in sysfs 2015-03-14 18:36:15 +00:00
meter First round of IIO new drivers, cleanups and functionality for the 3.20 cycle take 2 2015-01-21 10:13:37 +08:00
resolver staging: iio: ad2s1200: Fix sign extension 2015-01-26 21:04:27 +00:00
trigger Staging patches for 3.19-rc1 2014-12-15 18:06:13 -08:00
Kconfig staging: iio: dummy: Fix undefined symbol build error 2015-03-14 18:36:20 +00:00
Makefile hwmon: Move the IIO client driver for hwmon out of staging 2013-03-23 10:08:15 +00:00
TODO Staging/iio: add TODO reminder 2013-10-01 16:19:17 +01:00
iio_dummy_evgen.c iio: dummy: Add virtual registers for dummy device 2014-11-22 11:05:44 +00:00
iio_dummy_evgen.h iio: dummy: Add virtual registers for dummy device 2014-11-22 11:05:44 +00:00
iio_simple_dummy.c iio: core: Remove IIO_EV_TYPE_INSTANCE 2015-01-27 18:49:55 +00:00
iio_simple_dummy.h staging: iio: dummy: fix compile error when not using buffering 2015-01-01 12:20:52 +00:00
iio_simple_dummy_buffer.c iio: kfifo: Remove unused argument in iio_kfifo_allocate 2014-12-26 11:20:38 +00:00
iio_simple_dummy_events.c iio: core: Remove IIO_EV_TYPE_INSTANCE 2015-01-27 18:49:55 +00:00
ring_hw.h staging: iio: Add #include guards to header files 2014-09-28 22:19:04 -04:00