mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
usb: bdc: 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/20240814030443.3876203-1-liaochen4@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e8778a2505
commit
8557ef3f24
@ -639,6 +639,7 @@ static const struct of_device_id bdc_of_match[] = {
|
||||
{ .compatible = "brcm,bdc" },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, bdc_of_match);
|
||||
|
||||
static struct platform_driver bdc_driver = {
|
||||
.driver = {
|
||||
|
Loading…
Reference in New Issue
Block a user