[PATCH -next] video: fbdev: add missing MODULE_DEVICE_TABLE

Helge Deller deller at gmx.de
Sat Oct 8 12:48:38 UTC 2022


On 9/28/22 17:17, Zeng Heng wrote:
> This patch adds missing MODULE_DEVICE_TABLE definition
> which generates correct modalias for automatic loading
> of this driver when it is built as an external module.
>
> Signed-off-by: Zeng Heng <zengheng4 at huawei.com>

applied.
Thanks!
Helge



>   drivers/video/fbdev/vga16fb.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/video/fbdev/vga16fb.c b/drivers/video/fbdev/vga16fb.c
> index 35cf51ae3292..af47f8217095 100644
> --- a/drivers/video/fbdev/vga16fb.c
> +++ b/drivers/video/fbdev/vga16fb.c
> @@ -1421,6 +1421,7 @@ static const struct platform_device_id vga16fb_driver_id_table[] = {
>   	{"vga-framebuffer", 0},
>   	{ }
>   };
> +MODULE_DEVICE_TABLE(platform, vga16fb_driver_id_table);
>
>   static struct platform_driver vga16fb_driver = {
>   	.probe = vga16fb_probe,



More information about the dri-devel mailing list