]> git.baikalelectronics.ru Git - kernel.git/commit
staging:iio:dummy fix kfifo_buf kconfig dependency issue if kfifo modular and buffer...
authorJonathan Cameron <jic23@kernel.org>
Sun, 1 Sep 2013 17:55:00 +0000 (18:55 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 18 Sep 2013 18:43:23 +0000 (19:43 +0100)
commit1a8aa0ec37d841b5c17c1d3044bd5397469e259f
treec9e291e65ecdd5c280d67dd683bfc0f331897579
parent76572a528a3cf18675b26e1cbb8363c6b3673dfd
staging:iio:dummy fix kfifo_buf kconfig dependency issue if kfifo modular and buffer enabled for built in dummy driver.

This only occurs in the unlikely event that the example driver is built
in whilst the buffer implementation is not.

Solved by switching from a depends on to a select for this particular case.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/Kconfig