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

- From: Nicolas Ferre \<hidden\>
- Date: 2013-12-02 18:26:10 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2013/12/4157978
- Thread: https://ratatoskr.run/linux-fbdev/2013/10/4137539/t.md

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


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