All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gpio: tegra186: export MODULE_DEVICE_TABLE
@ 2020-05-05  8:45 ` Mian Yousaf Kaukab
  0 siblings, 0 replies; 4+ messages in thread
From: Mian Yousaf Kaukab @ 2020-05-05  8:45 UTC (permalink / raw)
  To: thierry.reding-Re5JQEeQqe8AvxtiuMwx3w,
	linux-gpio-u79uwXL29TY76Z2rM5mHXA,
	linus.walleij-QSEj5FYQhm4dnm+yROfE0A,
	bgolaszewski-rdvid1DuHRBWk0Htik3J/w,
	jonathanh-DDmLM1+adcrQT0dZR+AlfA,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: Mian Yousaf Kaukab

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

Signed-off-by: Mian Yousaf Kaukab <ykaukab-l3A5Bk7waGM@public.gmane.org>
---
 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] 4+ messages in thread

* [PATCH] gpio: tegra186: export MODULE_DEVICE_TABLE
@ 2020-05-05  8:45 ` Mian Yousaf Kaukab
  0 siblings, 0 replies; 4+ 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] 4+ messages in thread

* Re: [PATCH] gpio: tegra186: export MODULE_DEVICE_TABLE
  2020-05-05  8:45 ` Mian Yousaf Kaukab
@ 2020-05-05 16:18     ` Bartosz Golaszewski
  -1 siblings, 0 replies; 4+ messages in thread
From: Bartosz Golaszewski @ 2020-05-05 16:18 UTC (permalink / raw)
  To: Mian Yousaf Kaukab
  Cc: Thierry Reding, linux-gpio, Linus Walleij, Jonathan Hunter,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, LKML

wt., 5 maj 2020 o 10:45 Mian Yousaf Kaukab <ykaukab-l3A5Bk7waGM@public.gmane.org> napisał(a):
>
> Export MODULE_DEVICE_TABLE since the driver can be built as a module.
>
> Signed-off-by: Mian Yousaf Kaukab <ykaukab-l3A5Bk7waGM@public.gmane.org>
> ---
>  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
>

Patch applied, thanks!

Bart

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

* Re: [PATCH] gpio: tegra186: export MODULE_DEVICE_TABLE
@ 2020-05-05 16:18     ` Bartosz Golaszewski
  0 siblings, 0 replies; 4+ messages in thread
From: Bartosz Golaszewski @ 2020-05-05 16:18 UTC (permalink / raw)
  To: Mian Yousaf Kaukab
  Cc: Thierry Reding, linux-gpio, Linus Walleij, Jonathan Hunter,
	linux-tegra, LKML

wt., 5 maj 2020 o 10:45 Mian Yousaf Kaukab <ykaukab@suse.de> napisał(a):
>
> 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
>

Patch applied, thanks!

Bart

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

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

Thread overview: 4+ 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  8:45 ` Mian Yousaf Kaukab
     [not found] ` <20200505084501.13170-1-ykaukab-l3A5Bk7waGM@public.gmane.org>
2020-05-05 16:18   ` Bartosz Golaszewski
2020-05-05 16:18     ` Bartosz Golaszewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.