Skip to contentSkip to conversation

gpio: tegra186: export MODULE_DEVICE_TABLE

PATCH In review Mian Yousaf Kaukab 2 participants 2 messages May 5, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: tegra186: export MODULE_DEVICE_TABLE

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

---
 drivers/gpio/gpio-tegra186.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpio/gpio-tegra186.c +1 -0
index 79b553dc39a3..178e9128ded0 100644
@@ -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 = {
Signature · 1 line
2.25.0
#1 lore raw

wt., 5 maj 2020 o 10:45 Mian Yousaf Kaukab <[email protected]> napisał(a):

Quoted 21 lines

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

---
 drivers/gpio/gpio-tegra186.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpio/gpio-tegra186.c +1 -1
index 79b553dc39a3..178e9128ded0 100644
@@ -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 = {
--
Quoted 2 lines

2.25.0

Patch applied, thanks!

Bart