mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
94588c1bf1
Gcc reports build error when CONFIG_IIO_TRIGGERED_BUFFER is not set:
riscv64-linux-gnu-ld: drivers/iio/dummy/iio_simple_dummy_buffer.o: in function `iio_simple_dummy_configure_buffer':
iio_simple_dummy_buffer.c:(.text+0x2b0): undefined reference to `iio_triggered_buffer_setup_ext'
riscv64-linux-gnu-ld: drivers/iio/dummy/iio_simple_dummy_buffer.o: in function `.L0 ':
iio_simple_dummy_buffer.c:(.text+0x2fc): undefined reference to `iio_triggered_buffer_cleanup'
Fix it by select IIO_TRIGGERED_BUFFER for config IIO_SIMPLE_DUMMY_BUFFER.
Fixes:
|
||
---|---|---|
.. | ||
iio_dummy_evgen.c | ||
iio_dummy_evgen.h | ||
iio_simple_dummy_buffer.c | ||
iio_simple_dummy_events.c | ||
iio_simple_dummy.c | ||
iio_simple_dummy.h | ||
Kconfig | ||
Makefile |