staging: iio: ring_sw Add select of triggers to avoid build issue.
authorJonathan Cameron <jic23@cam.ac.uk>
Thu, 29 Jul 2010 16:50:49 +0000 (17:50 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 Aug 2010 00:06:04 +0000 (17:06 -0700)
Currently all drivers that use ring_sw use triggers and I am yet
to see a good reason for any driver not doing so.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/Kconfig

index 569b938..ed48815 100644 (file)
@@ -21,6 +21,7 @@ config IIO_RING_BUFFER
 if IIO_RING_BUFFER
 
 config IIO_SW_RING
+       select IIO_TRIGGER
        tristate "Industrial I/O lock free software ring"
        help
          Example software ring buffer implementation.  The design aim