summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/omap.c')
-rw-r--r--drivers/video/omap.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/video/omap.c b/drivers/video/omap.c
index 67b31522ae..009626fefc 100644
--- a/drivers/video/omap.c
+++ b/drivers/video/omap.c
@@ -514,9 +514,4 @@ static struct driver_d omapfb_driver = {
.probe = omapfb_probe,
};
-static int omapfb_init(void)
-{
- return platform_driver_register(&omapfb_driver);
-}
-
-device_initcall(omapfb_init);
+device_platform_driver(omapfb_driver);