gpio: tegra186: export MODULE_DEVICE_TABLE
Subsystems (2)
PATCH 1/1 gpio: tegra186: export MODULE_DEVICE_TABLE
Export MODULE_DEVICE_TABLE since the driver can be built as a module.
Signed-off-by Mian Yousaf Kaukab <[email protected]>
--- drivers/gpio/gpio-tegra186.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpio/gpio-tegra186.c +1 -0
@@ -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
wt., 5 maj 2020 o 10:45 Mian Yousaf Kaukab <[email protected]> napisał(a):
Quoted 21 lines
Export
MODULE_DEVICE_TABLEsince the driver can be built as a module.Signed-off-by Mian Yousaf Kaukab <[email protected]>--- drivers/gpio/gpio-tegra186.c | 1 + 1 file changed, 1 insertion(+)drivers/gpio/gpio-tegra186.c +1
-1@@ -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