mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-18 19:50:40 +00:00
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 | ||