mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 01:53:29 +02:00
usb: phy: phy-gpio-vbus-usb: 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-2-liaochen4@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fb9804096b
commit
3df1b090a4
|
|
@ -374,6 +374,7 @@ static const struct of_device_id gpio_vbus_of_match[] = {
|
|||
},
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, gpio_vbus_of_match);
|
||||
|
||||
static struct platform_driver gpio_vbus_driver = {
|
||||
.driver = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user