mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 22:50:41 +00:00
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: Zeng Heng <zengheng4@huawei.com> Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
e82b0c3ea5
commit
3b29f36efc
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user