lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
 <TY3PR01MB11346E9A2EFE8B5558BB19C6386962@TY3PR01MB11346.jpnprd01.prod.outlook.com>
Date: Thu, 29 Aug 2024 08:24:29 +0000
From: Biju Das <biju.das.jz@...renesas.com>
To: Liao Chen <liaochen4@...wei.com>, "linux-tegra@...r.kernel.org"
	<linux-tegra@...r.kernel.org>, "linux-media@...r.kernel.org"
	<linux-media@...r.kernel.org>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>
CC: "hverkuil-cisco@...all.nl" <hverkuil-cisco@...all.nl>,
	"mchehab@...nel.org" <mchehab@...nel.org>, "thierry.reding@...il.com"
	<thierry.reding@...il.com>, "jonathanh@...dia.com" <jonathanh@...dia.com>,
	"jacopo@...ndi.org" <jacopo@...ndi.org>, "sakari.ailus@...ux.intel.com"
	<sakari.ailus@...ux.intel.com>, "laurent.pinchart@...asonboard.com"
	<laurent.pinchart@...asonboard.com>, "tomi.valkeinen@...asonboard.com"
	<tomi.valkeinen@...asonboard.com>
Subject: RE: [PATCH -next 2/3] media: platform: rzg2l-cru: rzg2l-csi2: enable
 module autoloading

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@...wei.com>
> Sent: Thursday, August 29, 2024 8:54 AM
> To: linux-tegra@...r.kernel.org; linux-media@...r.kernel.org; linux-kernel@...r.kernel.org
> Cc: hverkuil-cisco@...all.nl; mchehab@...nel.org; thierry.reding@...il.com; jonathanh@...dia.com;
> jacopo@...ndi.org; sakari.ailus@...ux.intel.com; laurent.pinchart@...asonboard.com; Biju Das
> <biju.das.jz@...renesas.com>; tomi.valkeinen@...asonboard.com; liaochen4@...wei.com
> 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@...wei.com>
> ---
>  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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ