Skip to content

Commit 4cf39b0

Browse files
krzkffainelli
authored andcommitted
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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Florian Fainelli <[email protected]>
1 parent 4cece76 commit 4cf39b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/bus/brcmstb_gisb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ static const struct of_device_id brcmstb_gisb_arb_of_match[] = {
410410
{ .compatible = "brcm,bcm74165-gisb-arb", .data = gisb_offsets_bcm74165 },
411411
{ },
412412
};
413+
MODULE_DEVICE_TABLE(of, brcmstb_gisb_arb_of_match);
413414

414415
static int __init brcmstb_gisb_arb_probe(struct platform_device *pdev)
415416
{

0 commit comments

Comments
 (0)