drm/tve200: add OF module alias for autoloading

The TVE200 DRM driver can be built as a module and uses tve200_of_match
as its OF match table, but the table is not exported for module alias
generation.

Add the MODULE_DEVICE_TABLE(of, ...) entry so modpost can generate OF
module aliases for OF based module autoloading.

Fixes: 179c02fe90 ("drm/tve200: Add new driver for TVE200")
Signed-off-by: Can Peng <pengcan@kylinos.cn>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260715024130.186416-1-pengcan@kylinos.cn
This commit is contained in:
Can Peng
2026-07-15 10:41:30 +08:00
committed by Linus Walleij
parent c182a2ae13
commit b6c3585f20

View File

@@ -264,6 +264,7 @@ static const struct of_device_id tve200_of_match[] = {
},
{},
};
MODULE_DEVICE_TABLE(of, tve200_of_match);
static struct platform_driver tve200_driver = {
.driver = {