video: fbdev: mb862xx: Fix module autoload for OF platform driver
authorLuis de Bethencourt <luis@debethencourt.com>
Fri, 18 Sep 2015 18:46:09 +0000 (20:46 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 24 Sep 2015 11:35:36 +0000 (14:35 +0300)
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>
drivers/video/fbdev/mb862xx/mb862xxfbdrv.c

index 9b8bebdf8f86e1209f0ca2f6f9779e8c64fa2e43..f9ec5c0484fabbd8d6f2cc5b5e5897c003e07b10 100644 (file)
@@ -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 = {