Re: [PATCH] iio: imu: bmi270: add missing MODULE_DEVICE_TABLE()
From: Jonathan Cameron
Date: Sat Jul 04 2026 - 19:59:00 EST
On Sat, 4 Jul 2026 16:44:16 +0300
Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:
> On Sat, Jul 04, 2026 at 08:42:24PM +0800, Pengpeng Hou wrote:
> > The driver has an OF match table wired to .of_match_table, but does
> > not export the table with MODULE_DEVICE_TABLE().
> >
> > Add the missing MODULE_DEVICE_TABLE(of, ...) entry so module alias
> > information is generated for OF based module autoloading.
> >
> > This is a source-level fix. It does not claim dynamic hardware
> > reproduction; the evidence is the driver-owned match table, its use by
> > the platform driver, and the missing module alias publication.
>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
>
Applied to the testing branch of iio.git.
thanks
Jonathan