diff options
author | Zeng Heng <zengheng4@huawei.com> | 2022-09-28 23:17:10 +0800 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-10-08 15:20:09 +0200 |
commit | 3b29f36efc2fc0d09a178d6d4f9e772f3ffe8591 (patch) | |
tree | ef03b35f05134b05984f50f2f096ec424ead5016 | |
parent | e82b0c3ea520609b953ace13ae8d44ba7b3cee54 (diff) | |
download | linux-stable-3b29f36efc2fc0d09a178d6d4f9e772f3ffe8591.tar.gz linux-stable-3b29f36efc2fc0d09a178d6d4f9e772f3ffe8591.tar.bz2 linux-stable-3b29f36efc2fc0d09a178d6d4f9e772f3ffe8591.zip |
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>
-rw-r--r-- | drivers/video/fbdev/vga16fb.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |