Skip to content

Commit 0f978da

Browse files
Liao Chenlinusw
authored andcommitted
pinctrl: bcm2835: 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 <[email protected]> Acked-by: Florian Fainelli <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent f7b286a commit 0f978da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pinctrl/bcm/pinctrl-bcm2835.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,6 +1280,7 @@ static const struct of_device_id bcm2835_pinctrl_match[] = {
12801280
},
12811281
{}
12821282
};
1283+
MODULE_DEVICE_TABLE(of, bcm2835_pinctrl_match);
12831284

12841285
static int bcm2835_pinctrl_probe(struct platform_device *pdev)
12851286
{

0 commit comments

Comments
 (0)