All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm: ingenic-drm: add MODULE_DEVICE_TABLE
@ 2020-05-04  6:35 ` H. Nikolaus Schaller
  0 siblings, 0 replies; 4+ messages in thread
From: H. Nikolaus Schaller @ 2020-05-04  6:35 UTC (permalink / raw)
  To: Paul Boddie, Paul Cercueil, David Airlie, Daniel Vetter
  Cc: dri-devel, linux-kernel, letux-kernel, H. Nikolaus Schaller, stable

so that the driver can load by matching the device tree
if compiled as module.

Cc: stable@vger.kernel.org # v5.3+
Fixes: 90b86fcc47b4 ("DRM: Add KMS driver for the Ingenic JZ47xx SoCs")
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
 drivers/gpu/drm/ingenic/ingenic-drm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/ingenic/ingenic-drm.c b/drivers/gpu/drm/ingenic/ingenic-drm.c
index 9dfe7cb530e11..1754c05470690 100644
--- a/drivers/gpu/drm/ingenic/ingenic-drm.c
+++ b/drivers/gpu/drm/ingenic/ingenic-drm.c
@@ -843,6 +843,7 @@ static const struct of_device_id ingenic_drm_of_match[] = {
 	{ .compatible = "ingenic,jz4770-lcd", .data = &jz4770_soc_info },
 	{ /* sentinel */ },
 };
+MODULE_DEVICE_TABLE(of, ingenic_drm_of_match);
 
 static struct platform_driver ingenic_drm_driver = {
 	.driver = {
-- 
2.26.2


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

* [PATCH] drm: ingenic-drm: add MODULE_DEVICE_TABLE
@ 2020-05-04  6:35 ` H. Nikolaus Schaller
  0 siblings, 0 replies; 4+ messages in thread
From: H. Nikolaus Schaller @ 2020-05-04  6:35 UTC (permalink / raw)
  To: Paul Boddie, Paul Cercueil, David Airlie, Daniel Vetter
  Cc: H. Nikolaus Schaller, stable, letux-kernel, linux-kernel, dri-devel

so that the driver can load by matching the device tree
if compiled as module.

Cc: stable@vger.kernel.org # v5.3+
Fixes: 90b86fcc47b4 ("DRM: Add KMS driver for the Ingenic JZ47xx SoCs")
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
 drivers/gpu/drm/ingenic/ingenic-drm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/ingenic/ingenic-drm.c b/drivers/gpu/drm/ingenic/ingenic-drm.c
index 9dfe7cb530e11..1754c05470690 100644
--- a/drivers/gpu/drm/ingenic/ingenic-drm.c
+++ b/drivers/gpu/drm/ingenic/ingenic-drm.c
@@ -843,6 +843,7 @@ static const struct of_device_id ingenic_drm_of_match[] = {
 	{ .compatible = "ingenic,jz4770-lcd", .data = &jz4770_soc_info },
 	{ /* sentinel */ },
 };
+MODULE_DEVICE_TABLE(of, ingenic_drm_of_match);
 
 static struct platform_driver ingenic_drm_driver = {
 	.driver = {
-- 
2.26.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* Re: [PATCH] drm: ingenic-drm: add MODULE_DEVICE_TABLE
  2020-05-04  6:35 ` H. Nikolaus Schaller
@ 2020-05-04 10:15   ` Paul Cercueil
  -1 siblings, 0 replies; 4+ messages in thread
From: Paul Cercueil @ 2020-05-04 10:15 UTC (permalink / raw)
  To: H. Nikolaus Schaller
  Cc: Paul Boddie, David Airlie, Daniel Vetter, dri-devel,
	linux-kernel, letux-kernel, stable

Hi Nikolaus,


Le lun. 4 mai 2020 à 8:35, H. Nikolaus Schaller <hns@goldelico.com> a 
écrit :
> so that the driver can load by matching the device tree
> if compiled as module.
> 
> Cc: stable@vger.kernel.org # v5.3+
> Fixes: 90b86fcc47b4 ("DRM: Add KMS driver for the Ingenic JZ47xx 
> SoCs")
> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>

Applied, thanks.

-Paul

> ---
>  drivers/gpu/drm/ingenic/ingenic-drm.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/ingenic/ingenic-drm.c 
> b/drivers/gpu/drm/ingenic/ingenic-drm.c
> index 9dfe7cb530e11..1754c05470690 100644
> --- a/drivers/gpu/drm/ingenic/ingenic-drm.c
> +++ b/drivers/gpu/drm/ingenic/ingenic-drm.c
> @@ -843,6 +843,7 @@ static const struct of_device_id 
> ingenic_drm_of_match[] = {
>  	{ .compatible = "ingenic,jz4770-lcd", .data = &jz4770_soc_info },
>  	{ /* sentinel */ },
>  };
> +MODULE_DEVICE_TABLE(of, ingenic_drm_of_match);
> 
>  static struct platform_driver ingenic_drm_driver = {
>  	.driver = {
> --
> 2.26.2
> 



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

* Re: [PATCH] drm: ingenic-drm: add MODULE_DEVICE_TABLE
@ 2020-05-04 10:15   ` Paul Cercueil
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Cercueil @ 2020-05-04 10:15 UTC (permalink / raw)
  To: H. Nikolaus Schaller
  Cc: Paul Boddie, David Airlie, linux-kernel, dri-devel, stable, letux-kernel

Hi Nikolaus,


Le lun. 4 mai 2020 à 8:35, H. Nikolaus Schaller <hns@goldelico.com> a 
écrit :
> so that the driver can load by matching the device tree
> if compiled as module.
> 
> Cc: stable@vger.kernel.org # v5.3+
> Fixes: 90b86fcc47b4 ("DRM: Add KMS driver for the Ingenic JZ47xx 
> SoCs")
> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>

Applied, thanks.

-Paul

> ---
>  drivers/gpu/drm/ingenic/ingenic-drm.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/ingenic/ingenic-drm.c 
> b/drivers/gpu/drm/ingenic/ingenic-drm.c
> index 9dfe7cb530e11..1754c05470690 100644
> --- a/drivers/gpu/drm/ingenic/ingenic-drm.c
> +++ b/drivers/gpu/drm/ingenic/ingenic-drm.c
> @@ -843,6 +843,7 @@ static const struct of_device_id 
> ingenic_drm_of_match[] = {
>  	{ .compatible = "ingenic,jz4770-lcd", .data = &jz4770_soc_info },
>  	{ /* sentinel */ },
>  };
> +MODULE_DEVICE_TABLE(of, ingenic_drm_of_match);
> 
>  static struct platform_driver ingenic_drm_driver = {
>  	.driver = {
> --
> 2.26.2
> 


_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-04  6:35 [PATCH] drm: ingenic-drm: add MODULE_DEVICE_TABLE H. Nikolaus Schaller
2020-05-04  6:35 ` H. Nikolaus Schaller
2020-05-04 10:15 ` Paul Cercueil
2020-05-04 10:15   ` Paul Cercueil

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.