Commit 511051d5 authored by Andreas Klinger's avatar Andreas Klinger Committed by Jonathan Cameron

iio: srf08: fix link error "devm_iio_triggered_buffer_setup" undefined

Functions for triggered buffer support are needed by this module.
If they are not defined accidentally by another driver, there's an error
thrown out while linking.

Add a select of IIO_BUFFER and IIO_TRIGGERED_BUFFER in the Kconfig file.
Signed-off-by: default avatarAndreas Klinger <>
Fixes: a8319593 ("iio: srf08: add triggered buffer support")
Cc: <>
Signed-off-by: default avatarJonathan Cameron <>
parent 7d2b8e6a
......@@ -68,6 +68,8 @@ config SX9500
config SRF08
tristate "Devantech SRF02/SRF08/SRF10 ultrasonic ranger sensor"
depends on I2C
Say Y here to build a driver for Devantech SRF02/SRF08/SRF10
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment