usb: misc: brcmstb-usb-pinmap: 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-3-liaochen4@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3df1b090a4
commit
62cadfb518
@ -335,6 +335,7 @@ static const struct of_device_id brcmstb_usb_pinmap_of_match[] = {
|
||||
{ .compatible = "brcm,usb-pinmap" },
|
||||
{ },
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, brcmstb_usb_pinmap_of_match);
|
||||
|
||||
static struct platform_driver brcmstb_usb_pinmap_driver = {
|
||||
.driver = {
|
||||
|
Loading…
Reference in New Issue
Block a user