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

- Subsystems: FRAMEBUFFER LAYER, THE REST
- Maintainers: Helge Deller, Linus Torvalds
- List: linux-fbdev
- 3 messages, 3 authors
- Page: https://ratatoskr.run/linux-fbdev/2013/10/4137539/t

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

- From: Johan Hovold \<hidden\>
- Date: 2013-10-22 16:37:10 
- Message: https://ratatoskr.run/linux-fbdev/2013/10/4137539.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

```

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

- From: Nicolas Ferre \<hidden\>
- Date: 2013-12-02 18:26:10 
- Message: https://ratatoskr.run/linux-fbdev/2013/12/4157978.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
```

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

- From: Tomi Valkeinen \<hidden\>
- Date: 2013-12-04 08:49:42 
- Message: https://ratatoskr.run/linux-fbdev/2013/12/4159755.md

```text
On 2013-12-02 20:25, Nicolas Ferre wrote:
> 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)
>>


Thanks, queued for 3.13 fbdev fixes.

 Tomi


```
