gpio: tegra186: export MODULE_DEVICE_TABLE
authorMian Yousaf Kaukab <ykaukab@suse.de>
Tue, 5 May 2020 08:45:01 +0000 (10:45 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 5 May 2020 16:18:38 +0000 (18:18 +0200)
Export MODULE_DEVICE_TABLE since the driver can be built as a module.

Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-tegra186.c

index 79b553d..178e912 100644 (file)
@@ -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 = {