Hi Liao, It is same as [1] [1] https://git.linuxtv.org/media_stage.git/commit/?id=07668fb0f867388bfdac0b60dbf51a4ad789f8e7 Cheers, Biju > -----Original Message----- > From: Liao Chen <liaochen4@xxxxxxxxxx> > Sent: Thursday, August 29, 2024 8:54 AM > To: linux-tegra@xxxxxxxxxxxxxxx; linux-media@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx > Cc: hverkuil-cisco@xxxxxxxxx; mchehab@xxxxxxxxxx; thierry.reding@xxxxxxxxx; jonathanh@xxxxxxxxxx; > jacopo@xxxxxxxxxx; sakari.ailus@xxxxxxxxxxxxxxx; laurent.pinchart@xxxxxxxxxxxxxxxx; Biju Das > <biju.das.jz@xxxxxxxxxxxxxx>; tomi.valkeinen@xxxxxxxxxxxxxxxx; liaochen4@xxxxxxxxxx > Subject: [PATCH -next 2/3] media: platform: rzg2l-cru: rzg2l-csi2: enable module autoloading > > Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from > of_device_id table. > > Signed-off-by: Liao Chen <liaochen4@xxxxxxxxxx> > --- > drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.c > b/drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.c > index e68fcdaea207..c7fdee347ac8 100644 > --- a/drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.c > +++ b/drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.c > @@ -865,6 +865,7 @@ static const struct of_device_id rzg2l_csi2_of_table[] = { > { .compatible = "renesas,rzg2l-csi2", }, > { /* sentinel */ } > }; > +MODULE_DEVICE_TABLE(of, rzg2l_csi2_of_table); > > static struct platform_driver rzg2l_csi2_pdrv = { > .remove_new = rzg2l_csi2_remove, > -- > 2.34.1