* [PATCH 1/5] drm: atmel-hlcdc: Fix module autoload for OF platform driver
@ 2015-09-17 14:20 Luis de Bethencourt
2015-09-17 15:04 ` Boris Brezillon
0 siblings, 1 reply; 2+ messages in thread
From: Luis de Bethencourt @ 2015-09-17 14:20 UTC (permalink / raw)
To: linux-kernel
Cc: David Airlie, Boris Brezillon, Sylvain Rochet, Daniel Vetter,
Rob Clark, Thierry Reding, dri-devel
This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
---
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
index 8bc62ec..a83c431 100644
--- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
+++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
@@ -342,6 +342,7 @@ static const struct of_device_id atmel_hlcdc_of_match[] = {
},
{ /* sentinel */ },
};
+MODULE_DEVICE_TABLE(of, atmel_hlcdc_of_match);
int atmel_hlcdc_dc_mode_valid(struct atmel_hlcdc_dc *dc,
struct drm_display_mode *mode)
--
2.4.6
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 1/5] drm: atmel-hlcdc: Fix module autoload for OF platform driver
2015-09-17 14:20 [PATCH 1/5] drm: atmel-hlcdc: Fix module autoload for OF platform driver Luis de Bethencourt
@ 2015-09-17 15:04 ` Boris Brezillon
0 siblings, 0 replies; 2+ messages in thread
From: Boris Brezillon @ 2015-09-17 15:04 UTC (permalink / raw)
To: Luis de Bethencourt
Cc: linux-kernel, David Airlie, Sylvain Rochet, Daniel Vetter,
Rob Clark, Thierry Reding, dri-devel
Hi Luis,
On Thu, 17 Sep 2015 16:20:43 +0200
Luis de Bethencourt <luis@debethencourt.com> wrote:
> This platform driver has a OF device ID table but the OF module
> alias information is not created so module autoloading won't work.
>
> Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Thanks,
Boris
> ---
> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
> index 8bc62ec..a83c431 100644
> --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
> +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
> @@ -342,6 +342,7 @@ static const struct of_device_id atmel_hlcdc_of_match[] = {
> },
> { /* sentinel */ },
> };
> +MODULE_DEVICE_TABLE(of, atmel_hlcdc_of_match);
>
> int atmel_hlcdc_dc_mode_valid(struct atmel_hlcdc_dc *dc,
> struct drm_display_mode *mode)
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-17 15:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-17 14:20 [PATCH 1/5] drm: atmel-hlcdc: Fix module autoload for OF platform driver Luis de Bethencourt
2015-09-17 15:04 ` Boris Brezillon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®