Commit 3df1b090 authored by Liao Chen's avatar Liao Chen Committed by Greg Kroah-Hartman
Browse files

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: default avatarLiao Chen <liaochen4@huawei.com>
Link: https://lore.kernel.org/r/20240822130113.164644-2-liaochen4@huawei.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fb980409
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 = {