From: Hector Martin Date: Mon, 2 May 2022 09:23:35 +0000 (+0900) Subject: pinctrl: apple: Make it work as a module X-Git-Tag: v6.6.17~7408^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b983d423ce7408e13b3682558741aae3180bdcc9;p=platform%2Fkernel%2Flinux-rpi.git pinctrl: apple: Make it work as a module We need MODULE_DEVICE_TABLE for module autoloading to work. Signed-off-by: Hector Martin Link: https://lore.kernel.org/r/20220502092335.30670-1-marcan@marcan.st Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/pinctrl-apple-gpio.c b/drivers/pinctrl/pinctrl-apple-gpio.c index 72f4dd2..3a33731 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 = {