Commit 4333dbd9 authored by Liao Chen's avatar Liao Chen Committed by Greg Kroah-Hartman
Browse files

usb: ehci-brcm: 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>
Acked-by: default avatarFlorian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20240822130113.164644-5-liaochen4@huawei.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 15a34e5d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -246,6 +246,7 @@ static const struct of_device_id brcm_ehci_of_match[] = {
	{ .compatible = "brcm,bcm7445-ehci", },
	{}
};
MODULE_DEVICE_TABLE(of, brcm_ehci_of_match);

static struct platform_driver ehci_brcm_driver = {
	.probe		= ehci_brcm_probe,