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: <20240829075417.526459-4-liaochen4@huawei.com>
Date: Thu, 29 Aug 2024 07:54:17 +0000
From: Liao Chen <liaochen4@...wei.com>
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.jz@...renesas.com>, <tomi.valkeinen@...asonboard.com>,
	<liaochen4@...wei.com>
Subject: [PATCH -next 3/3] media: tegra_cec: 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/cec/platform/tegra/tegra_cec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/cec/platform/tegra/tegra_cec.c b/drivers/media/cec/platform/tegra/tegra_cec.c
index 7c1022cee1e8..a199a4158942 100644
--- a/drivers/media/cec/platform/tegra/tegra_cec.c
+++ b/drivers/media/cec/platform/tegra/tegra_cec.c
@@ -458,6 +458,7 @@ static const struct of_device_id tegra_cec_of_match[] = {
 	{ .compatible = "nvidia,tegra210-cec", },
 	{},
 };
+MODULE_DEVICE_TABLE(of, tegra_cec_of_match);
 
 static struct platform_driver tegra_cec_driver = {
 	.driver = {
-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ