]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
iio: always select ANON_INODES
authorArnd Bergmann <arnd@arndb.de>
Tue, 5 Aug 2014 14:56:00 +0000 (15:56 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 10 May 2014 10:39:57 +0000 (11:39 +0100)
Without ANON_INODES, we get this build error:

drivers/built-in.o: In function `iio_event_getfd':
:(.text+0x14bf18): undefined reference to `anon_inode_getfd'

All other users explicitly select this symbol, so we should
do the same thing here.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: linux-iio@vger.kernel.org
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/Kconfig

index 743485e4d6f83c28de0729509b8951b9f112a4eb..345395e9dc6e9feb509676e7db8a6de7b6eefc0f 100644 (file)
@@ -4,6 +4,7 @@
 
 menuconfig IIO
        tristate "Industrial I/O support"
+       select ANON_INODES
        help
          The industrial I/O subsystem provides a unified framework for
          drivers for many different types of embedded sensors using a