Commit b983d423 authored by Hector Martin's avatar Hector Martin Committed by Linus Walleij

pinctrl: apple: Make it work as a module

We need MODULE_DEVICE_TABLE for module autoloading to work.
Signed-off-by: default avatarHector Martin <marcan@marcan.st>
Link: https://lore.kernel.org/r/20220502092335.30670-1-marcan@marcan.stSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent e804944d
......@@ -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 = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment