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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240822130113.164644-4-liaochen4@huawei.com>
Date: Thu, 22 Aug 2024 13:01:12 +0000
From: Liao Chen <liaochen4@...wei.com>
To: <linux-usb@...r.kernel.org>
CC: <linux-kernel@...r.kernel.org>, <gregkh@...uxfoundation.org>,
	<alcooperx@...il.com>, <bcm-kernel-feedback-list@...adcom.com>,
	<heikki.krogerus@...ux.intel.com>, <stern@...land.harvard.edu>,
	<justin.chen@...adcom.com>
Subject: [PATCH -next 3/4] usb: typec: fix 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/usb/typec/anx7411.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/typec/anx7411.c b/drivers/usb/typec/anx7411.c
index 5a5bf3532ad7..33ff301b918f 100644
--- a/drivers/usb/typec/anx7411.c
+++ b/drivers/usb/typec/anx7411.c
@@ -1576,6 +1576,7 @@ static const struct of_device_id anx_match_table[] = {
 	{.compatible = "analogix,anx7411",},
 	{},
 };
+MODULE_DEVICE_TABLE(of, anx_match_table);
 
 static struct i2c_driver anx7411_driver = {
 	.driver = {
-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ