drivers/iio/industrialio-core.c | 1 + 1 file changed, 1 insertion(+)
Export iio_find_channel_from_si() in the Industrial I/O (IIO) core to
allow modular drivers to locate channel specifications by scan index.
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
---
drivers/iio/industrialio-core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c
index 825cf7f32059b..b59983d35239f 100644
--- a/drivers/iio/industrialio-core.c
+++ b/drivers/iio/industrialio-core.c
@@ -325,6 +325,7 @@ const struct iio_chan_spec
return &indio_dev->channels[i];
return NULL;
}
+EXPORT_SYMBOL_GPL(iio_find_channel_from_si);
/* This turns up an awful lot */
ssize_t iio_read_const_attr(struct device *dev,
--
2.53.0
On Sun, Nov 15, 2026 at 10:30:49AM +0200, Svyatoslav Ryhel wrote: > Export iio_find_channel_from_si() in the Industrial I/O (IIO) core to > allow modular drivers to locate channel specifications by scan index. Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> -- With Best Regards, Andy Shevchenko
On Mon, 16 Nov 2026 16:00:37 +0200 Andy Shevchenko <andriy.shevchenko@intel.com> wrote: > On Sun, Nov 15, 2026 at 10:30:49AM +0200, Svyatoslav Ryhel wrote: > > Export iio_find_channel_from_si() in the Industrial I/O (IIO) core to > > allow modular drivers to locate channel specifications by scan index. > > Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> > Normally a patch like this is part of a series using it, but given on this rare occasion I can remember the connected series, I'll pick it up ready for that. Applied to the testing branch of iio.git. Thanks, Jonathan
© 2016 - 2026 Red Hat, Inc.