Skip to content

Commit 5e4789d

Browse files
luisbgpH5
authored andcommitted
drm: imx: imx-tve: Fix module autoload for OF platform driver
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
1 parent 69d21fc commit 5e4789d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/gpu/drm/imx/imx-tve.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,7 @@ static const struct of_device_id imx_tve_dt_ids[] = {
721721
{ .compatible = "fsl,imx53-tve", },
722722
{ /* sentinel */ }
723723
};
724+
MODULE_DEVICE_TABLE(of, imx_tve_dt_ids);
724725

725726
static struct platform_driver imx_tve_driver = {
726727
.probe = imx_tve_probe,

0 commit comments

Comments
 (0)