mirror of
https://github.com/torvalds/linux.git
synced 2026-03-14 02:06:15 +01:00
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: Liao Chen <liaochen4@huawei.com> Acked-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://lore.kernel.org/r/20240822130113.164644-5-liaochen4@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
15a34e5d4b
commit
4333dbd979
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue