Re: [PATCH] thermal/drivers/qcom/spmi-mbg-tm: Import IIO_CONSUMER namespace
From: Andy Shevchenko
Date: Thu Aug 27 2026 - 08:53:23 EST
On Thu, Aug 27, 2026 at 06:35:55PM +0800, Shawn Guo wrote:
> The IIO consumer interface symbols moved into the IIO_CONSUMER namespace,
> so consumers must import it explicitly. Without it modpost fails on
> 'iio_read_channel_processed' and 'devm_iio_channel_get':
iio_read_channel_processed()
devm_iio_channel_get()
> ERROR: modpost: drivers/thermal/qcom/qcom-spmi-mbg-tm.ko: module uses
> symbol 'iio_read_channel_processed' from namespace 'IIO_CONSUMER', but
> does not import it.
> Fixes: ebf1d03dab96 ("iio: inkern: Use namespaced exports")
Shouldn't this be backported to stable kernels?
...
Code wise looks good.
--
With Best Regards,
Andy Shevchenko