atmel_lcdfb: fix module autoload

Started by Johan Hovold on Oct 22, 2013 · 3 messages from 3 authors · Last reply Dec 4, 2013

Subsystems (2)

Maintainers (2)

STALE4744d

open the first message on its own page

Message details and related content
Add missing module device table which is needed for module autoloading.

Signed-off-by: Johan Hovold <redacted>
---
 drivers/video/atmel_lcdfb.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c
index 088511a..67b339c 100644
--- a/drivers/video/atmel_lcdfb.c
+++ b/drivers/video/atmel_lcdfb.c
@@ -94,6 +94,7 @@ static const struct platform_device_id atmel_lcdfb_devtypes[] = {
 		/* terminator */
 	}
 };
+MODULE_DEVICE_TABLE(platform, atmel_lcdfb_devtypes);
 
 static struct atmel_lcdfb_config *
 atmel_lcdfb_get_config(struct platform_device *pdev)
-- 
1.8.4
Message details and related content
On 22/10/2013 18:36, Johan Hovold :
Add missing module device table which is needed for module autoloading.

Signed-off-by: Johan Hovold <redacted>
Acked-by: Nicolas Ferre <redacted>

Jean-Christophe, Tomi,

Can you please take this patch?

Best regards,

quoted hunk
---
  drivers/video/atmel_lcdfb.c | 1 +
  1 file changed, 1 insertion(+)
diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c
index 088511a..67b339c 100644
--- a/drivers/video/atmel_lcdfb.c
+++ b/drivers/video/atmel_lcdfb.c
@@ -94,6 +94,7 @@ static const struct platform_device_id atmel_lcdfb_devtypes[] = {
  		/* terminator */
  	}
  };
+MODULE_DEVICE_TABLE(platform, atmel_lcdfb_devtypes);

  static struct atmel_lcdfb_config *
  atmel_lcdfb_get_config(struct platform_device *pdev)

-- 
Nicolas Ferre
Message details and related content
On 2013-12-02 20:25, Nicolas Ferre wrote:
On 22/10/2013 18:36, Johan Hovold :
quoted
Add missing module device table which is needed for module autoloading.

Signed-off-by: Johan Hovold <redacted>
Acked-by: Nicolas Ferre <redacted>

Jean-Christophe, Tomi,

Can you please take this patch?

Best regards,

quoted
---
  drivers/video/atmel_lcdfb.c | 1 +
  1 file changed, 1 insertion(+)
diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c
index 088511a..67b339c 100644
--- a/drivers/video/atmel_lcdfb.c
+++ b/drivers/video/atmel_lcdfb.c
@@ -94,6 +94,7 @@ static const struct platform_device_id
atmel_lcdfb_devtypes[] = {
          /* terminator */
      }
  };
+MODULE_DEVICE_TABLE(platform, atmel_lcdfb_devtypes);

  static struct atmel_lcdfb_config *
  atmel_lcdfb_get_config(struct platform_device *pdev)

Thanks, queued for 3.13 fbdev fixes.

 Tomi

Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help