mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 10:38:44 -04:00
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@huawei.com> Link: https://lore.kernel.org/r/20240822130113.164644-4-liaochen4@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
62cadfb518
commit
15a34e5d4b
@@ -1577,6 +1577,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 = {
|
||||
|
||||
Reference in New Issue
Block a user