Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1b985a6e authored by Andreas Klinger's avatar Andreas Klinger Committed by Greg Kroah-Hartman
Browse files

iio: srf08: fix link error "devm_iio_triggered_buffer_setup" undefined



commit 511051d5 upstream.

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 <ak@it-klinger.de>
Fixes: a8319593 ("iio: srf08: add triggered buffer support")
Cc: <Stable@vger.kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f4f94e9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment