diff options
author | Hector Martin <marcan@marcan.st> | 2022-05-02 18:23:35 +0900 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-05-05 00:00:37 +0200 |
commit | b983d423ce7408e13b3682558741aae3180bdcc9 (patch) | |
tree | 70bb91fffd6768b19f1a515e16172358c1e323db /drivers/pinctrl/pinctrl-apple-gpio.c | |
parent | e804944dcc77991e6b5d81ee9b422297b2998d1d (diff) | |
download | lwn-b983d423ce7408e13b3682558741aae3180bdcc9.tar.gz lwn-b983d423ce7408e13b3682558741aae3180bdcc9.zip |
pinctrl: apple: Make it work as a module
We need MODULE_DEVICE_TABLE for module autoloading to work.
Signed-off-by: Hector Martin <marcan@marcan.st>
Link: https://lore.kernel.org/r/20220502092335.30670-1-marcan@marcan.st
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-apple-gpio.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-apple-gpio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-apple-gpio.c b/drivers/pinctrl/pinctrl-apple-gpio.c index 72f4dd2466e1..3a33731b8cdb 100644 --- a/drivers/pinctrl/pinctrl-apple-gpio.c +++ b/drivers/pinctrl/pinctrl-apple-gpio.c @@ -506,6 +506,7 @@ static const struct of_device_id apple_gpio_pinctrl_of_match[] = { { .compatible = "apple,pinctrl", }, { } }; +MODULE_DEVICE_TABLE(of, apple_gpio_pinctrl_of_match); static struct platform_driver apple_gpio_pinctrl_driver = { .driver = { |