Browse Source

video: fbdev: mb862xx: 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: Tomi Valkeinen <tomi.valkeinen@ti.com>
Luis de Bethencourt 10 năm trước cách đây
mục cha
commit
8e9191ac7b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      drivers/video/fbdev/mb862xx/mb862xxfbdrv.c

+ 1 - 0
drivers/video/fbdev/mb862xx/mb862xxfbdrv.c

@@ -831,6 +831,7 @@ static struct of_device_id of_platform_mb862xx_tbl[] = {
 	{ .compatible = "fujitsu,coral", },
 	{ /* end */ }
 };
+MODULE_DEVICE_TABLE(of, of_platform_mb862xx_tbl);
 
 static struct platform_driver of_platform_mb862xxfb_driver = {
 	.driver = {