diff options
author | Liao Chen <liaochen4@huawei.com> | 2024-08-20 12:26:04 +0000 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2024-08-24 16:46:33 +0200 |
commit | 0f978da67aaeb86c1a3804ce533939b3f90530eb (patch) | |
tree | c85680c845e728e56edbda1e0fe66debd37228bb /drivers | |
parent | f7b286ab3d46bac0ffb6df4d0cbadd92bf244c6b (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pinctrl/bcm/pinctrl-bcm2835.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/bcm/pinctrl-bcm2835.c b/drivers/pinctrl/bcm/pinctrl-bcm2835.c index 184641e221d4..cc1fe0555e19 100644 --- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c +++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c @@ -1280,6 +1280,7 @@ static const struct of_device_id bcm2835_pinctrl_match[] = { }, {} }; +MODULE_DEVICE_TABLE(of, bcm2835_pinctrl_match); static int bcm2835_pinctrl_probe(struct platform_device *pdev) { |