Skip to content

Commit 0f978da

Browse files
Liao ChenLinus Walleij
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 <liaochen4@huawei.com> Acked-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://lore.kernel.org/20240820122604.42736-1-liaochen4@huawei.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent f7b286a commit 0f978da

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)