[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220502092335.30670-1-marcan@marcan.st>
Date: Mon, 2 May 2022 18:23:35 +0900
From: Hector Martin <marcan@...can.st>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: Sven Peter <sven@...npeter.dev>,
Alyssa Rosenzweig <alyssa@...enzweig.io>,
linux-arm-kernel@...ts.infradead.org, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org, Hector Martin <marcan@...can.st>
Subject: [PATCH] pinctrl: apple: Make it work as a module
We need MODULE_DEVICE_TABLE for module autoloading to work.
Signed-off-by: Hector Martin <marcan@...can.st>
---
drivers/pinctrl/pinctrl-apple-gpio.c | 1 +
1 file changed, 1 insertion(+)
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 = {
--
2.35.1
Powered by blists - more mailing lists