Thread (5 messages) flat view 5 messages, 3 authors, 8d ago

Re: [PATCH] thermal/drivers/qcom/spmi-mbg-tm: Import IIO_CONSUMER namespace

From: Andy Shevchenko <hidden>
Date: 2026-08-27 12:52:52
Also in: linux-arm-msm, lkml

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help