# \[PATCH\] atmel\_lcdfb: fix module autoload

- From: Johan Hovold \<hidden\>
- Date: 2013-10-22 16:37:10 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2013/10/4137539
- Thread: https://ratatoskr.run/linux-fbdev/2013/10/4137539/t.md

```text
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

```
