mirror of https://gitee.com/openkylin/linux.git
33735a94af
The ad7298 drivers buffer implementation uses the IIO kfifo buffer, so it needs to select IIO_KFIFO_BUF. Otherwise (if no other driver selects the symbol) the following linker error will occur: drivers/built-in.o: In function `ad7298_register_ring_funcs_and_init': (.text+0x245cf2): undefined reference to `iio_kfifo_allocate' drivers/built-in.o: In function `ad7298_register_ring_funcs_and_init': (.text+0x245d7d): undefined reference to `iio_kfifo_free' drivers/built-in.o: In function `ad7298_ring_cleanup': (.text+0x245dcd): undefined reference to `iio_kfifo_free' Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Reported-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
Documentation | ||
accel | ||
adc | ||
addac | ||
cdc | ||
dac | ||
frequency | ||
gyro | ||
impedance-analyzer | ||
imu | ||
light | ||
magnetometer | ||
meter | ||
resolver | ||
trigger | ||
Kconfig | ||
Makefile | ||
TODO | ||
iio_dummy_evgen.c | ||
iio_dummy_evgen.h | ||
iio_hwmon.c | ||
iio_simple_dummy.c | ||
iio_simple_dummy.h | ||
iio_simple_dummy_buffer.c | ||
iio_simple_dummy_events.c | ||
ring_hw.h | ||
ring_sw.c | ||
ring_sw.h |