Commit 3b29f36e authored by Zeng Heng's avatar Zeng Heng Committed by Helge Deller

fbdev: vga16fb: Add missing MODULE_DEVICE_TABLE() entry

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: default avatarZeng Heng <zengheng4@huawei.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent e82b0c3e
...@@ -1421,6 +1421,7 @@ static const struct platform_device_id vga16fb_driver_id_table[] = { ...@@ -1421,6 +1421,7 @@ static const struct platform_device_id vga16fb_driver_id_table[] = {
{"vga-framebuffer", 0}, {"vga-framebuffer", 0},
{ } { }
}; };
MODULE_DEVICE_TABLE(platform, vga16fb_driver_id_table);
static struct platform_driver vga16fb_driver = { static struct platform_driver vga16fb_driver = {
.probe = vga16fb_probe, .probe = vga16fb_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment