Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [PATCH] gpio: tegra186: export MODULE_DEVICE_TABLE
@ 2020-05-05  8:45 Mian Yousaf Kaukab
  2020-05-05 16:18 ` Bartosz Golaszewski
  0 siblings, 1 reply; 2+ messages in thread
From: Mian Yousaf Kaukab @ 2020-05-05  8:45 UTC (permalink / raw)
  To: thierry.reding, linux-gpio, linus.walleij, bgolaszewski,
	jonathanh, linux-tegra, linux-kernel
  Cc: Mian Yousaf Kaukab

Export MODULE_DEVICE_TABLE since the driver can be built as a module.

Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de>
---
 drivers/gpio/gpio-tegra186.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c
index 79b553dc39a3..178e9128ded0 100644
--- a/drivers/gpio/gpio-tegra186.c
+++ b/drivers/gpio/gpio-tegra186.c
@@ -894,6 +894,7 @@ static const struct of_device_id tegra186_gpio_of_match[] = {
 		/* sentinel */
 	}
 };
+MODULE_DEVICE_TABLE(of, tegra186_gpio_of_match);
 
 static struct platform_driver tegra186_gpio_driver = {
 	.driver = {
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-05 16:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-05  8:45 [PATCH] gpio: tegra186: export MODULE_DEVICE_TABLE Mian Yousaf Kaukab
2020-05-05 16:18 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox