drm/tve200: add OF module alias for autoloading
Subsystems (3)
PATCH 1/1 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 179c02fe90a4 ("drm/tve200: Add new driver for TVE200")
Signed-off-by Can Peng <[email protected]>
--- drivers/gpu/drm/tve200/tve200_drv.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/tve200/tve200_drv.c +1 -0
@@ -263,6 +263,7 @@ static const struct of_device_id tve200_of_match[] = { }, {}, }; +MODULE_DEVICE_TABLE (of, tve200_of_match);static struct platform_driver tve200_driver = { .driver = {
Signature · 1 line
2.53.0
Linus Walleij
maintainerQuoted 9 lines · Can Peng
The TVE200 DRM driver can be built as a module and uses
tve200_of_matchas 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 179c02fe90a4 ("drm/tve200: Add new driver for TVE200")Signed-off-by Can Peng <[email protected]>
Patch applied.
Yours,
Linus Walleij