bus: brcmstb_gisb: fix module autoloading
PATCH 1/1 bus: brcmstb_gisb: fix module autoloading
Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded based on the alias from of_device_id table.
Signed-off-by Krzysztof Kozlowski <[email protected]>
--- drivers/bus/brcmstb_gisb.c | 1 + 1 file changed, 1 insertion(+)
drivers/bus/brcmstb_gisb.c +1 -0
@@ -410,6 +410,7 @@ static const struct of_device_id brcmstb_gisb_arb_of_match[] = { { .compatible = "brcm,bcm74165-gisb-arb", .data = gisb_offsets_bcm74165 }, { }, }; +MODULE_DEVICE_TABLE (of, brcmstb_gisb_arb_of_match);static int __init brcmstb_gisb_arb_probe (struct platform_device *pdev) {
Signature · 1 line
2.34.1
Florian Fainelli
maintainerQuoted 4 lines · Krzysztof Kozlowski
Add
MODULE_DEVICE_TABLE(), so the module could be properly autoloaded based on the alias fromof_device_idtable.Signed-off-by Krzysztof Kozlowski <[email protected]>
Applied thanks!
Signature · 1 line
Florian