WSL2-Linux-Kernel/drivers/staging/iio
Geert Uytterhoeven 928f911166 Staging: iio: Make IIO depend on GENERIC_HARDIRQS
On m68k (which doesn't support generic hardirqs yet):

drivers/staging/iio/industrialio-trigger.c: In function ‘iio_trigger_poll’:
drivers/staging/iio/industrialio-trigger.c:180: error: implicit declaration of function ‘generic_handle_irq’
drivers/staging/iio/industrialio-trigger.c: In function ‘iio_trigger_poll_chained’:
drivers/staging/iio/industrialio-trigger.c:200: error: implicit declaration of function ‘handle_nested_irq’
drivers/staging/iio/industrialio-trigger.c: In function ‘iio_trig_release’:
drivers/staging/iio/industrialio-trigger.c:379: error: implicit declaration of function ‘irq_modify_status’
drivers/staging/iio/industrialio-trigger.c:382: error: implicit declaration of function ‘irq_set_chip’
drivers/staging/iio/industrialio-trigger.c:384: error: implicit declaration of function ‘irq_set_handler’
drivers/staging/iio/industrialio-trigger.c:388: error: implicit declaration of function ‘irq_free_descs’
drivers/staging/iio/industrialio-trigger.c: In function ‘iio_trig_subirqmask’:
drivers/staging/iio/industrialio-trigger.c:402: error: implicit declaration of function ‘irq_data_get_irq_chip’
drivers/staging/iio/industrialio-trigger.c:402: warning: initialization makes pointer from integer without a cast
drivers/staging/iio/industrialio-trigger.c: In function ‘iio_trig_subirqunmask’:
drivers/staging/iio/industrialio-trigger.c:411: warning: initialization makes pointer from integer without a cast
drivers/staging/iio/industrialio-trigger.c: In function ‘iio_allocate_trigger’:
drivers/staging/iio/industrialio-trigger.c:432: error: implicit declaration of function ‘irq_alloc_descs’
drivers/staging/iio/industrialio-trigger.c:455: error: ‘handle_simple_irq’ undeclared (first use in this function)
drivers/staging/iio/industrialio-trigger.c:455: error: (Each undeclared identifier is reported only once
drivers/staging/iio/industrialio-trigger.c:455: error: for each function it appears in.)

Hence IIO_TRIGGER should depend on GENERIC_HARDIRQS.
But as IIO_TRIGGER and IIO_RING_BUFFER form a maze of dependencies and selects,
just make the whole IIO subsystem depend on GENERIC_HARDIRQS.

This dependency also covers !S390, so that one can be removed again.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-06-27 14:19:21 -07:00
..
Documentation staging:iio:documenation partial update. 2011-05-19 16:15:06 -07:00
accel Staging: fix iio builds when IIO_RING_BUFFER is not enabled 2011-06-27 14:19:21 -07:00
adc staging:iio: Trivial kconfig reorganization and uniformity improvements. 2011-05-19 16:15:06 -07:00
addac staging:iio: implement an iio_info structure to take some of the constant elements out of iio_dev. 2011-05-19 16:15:05 -07:00
dac staging: iio: max517: Fix iio_info changes 2011-06-09 10:07:47 -07:00
dds staging:iio: implement an iio_info structure to take some of the constant elements out of iio_dev. 2011-05-19 16:15:05 -07:00
gyro Staging: fix more iio builds when IIO_RING_BUFFER is not enabled 2011-06-27 14:19:20 -07:00
imu Staging: fix more iio builds when IIO_RING_BUFFER is not enabled 2011-06-27 14:19:20 -07:00
light staging:iio: Trivial kconfig reorganization and uniformity improvements. 2011-05-19 16:15:06 -07:00
magnetometer staging:iio: implement an iio_info structure to take some of the constant elements out of iio_dev. 2011-05-19 16:15:05 -07:00
meter staging:iio: use pollfunc allocation helpers in remaining drivers. 2011-05-19 16:15:06 -07:00
resolver staging:iio: implement an iio_info structure to take some of the constant elements out of iio_dev. 2011-05-19 16:15:05 -07:00
trigger staging:iio:trigger handle name attr in core, remove old alloc and register any control_attrs via struct device 2011-05-19 16:15:02 -07:00
Kconfig Staging: iio: Make IIO depend on GENERIC_HARDIRQS 2011-06-27 14:19:21 -07:00
Makefile staging:iio:kfifo buffer implementation 2011-02-18 13:22:51 -08:00
TODO staging: iio: add ADI info to TODO 2010-11-09 15:46:32 -08:00
chrdev.h staging:iio:core cleanup: squash tiny wrappers and use dev_set_name to handle creation of event interface name. 2011-05-19 16:15:04 -07:00
iio.h staging:iio: implement an iio_info structure to take some of the constant elements out of iio_dev. 2011-05-19 16:15:05 -07:00
industrialio-core.c staging:iio: implement an iio_info structure to take some of the constant elements out of iio_dev. 2011-05-19 16:15:05 -07:00
industrialio-ring.c staging:iio: ring core cleanups + check if read_last available in lis3l02dq 2011-05-19 16:15:05 -07:00
industrialio-trigger.c staging: iio: industrialio-trigger: set iio_poll_func private_data 2011-06-07 12:28:41 -07:00
kfifo_buf.c staging:iio: rationalization of different buffer implementation hooks. 2011-05-19 16:15:03 -07:00
kfifo_buf.h staging:iio: rationalization of different buffer implementation hooks. 2011-05-19 16:15:03 -07:00
ring_generic.h staging:iio: ring core cleanups + check if read_last available in lis3l02dq 2011-05-19 16:15:05 -07: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: Rip out helper for software rings. 2011-05-19 16:15:03 -07:00
ring_sw.h staging:iio: Rip out helper for software rings. 2011-05-19 16:15:03 -07:00
sysfs.h staging:iio:buffer - remove unused event code for buffer events. 2011-05-19 16:15:01 -07:00
trigger.h staging:iio: poll func allocation clean up. 2011-05-19 16:15:04 -07:00
trigger_consumer.h Staging: iio: Staticise non-exported functions 2010-03-03 16:43:02 -08:00