Skip to content

Commit

Permalink
staging:iio:dummy fix kfifo_buf kconfig dependency issue if kfifo mod…
Browse files Browse the repository at this point in the history
…ular 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>
  • Loading branch information
Jonathan Cameron committed Sep 18, 2013
1 parent db10e20 commit c919095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/iio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ config IIO_SIMPLE_DUMMY_EVENTS

config IIO_SIMPLE_DUMMY_BUFFER
boolean "Buffered capture support"
depends on IIO_KFIFO_BUF
select IIO_KFIFO_BUF
help
Add buffered data capture to the simple dummy driver.

Expand Down

0 comments on commit c919095

Please sign in to comment.