aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_drv.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2013-06-07 12:12:25 -0400
committerTony Lindgren <tony@atomide.com>2013-06-07 12:12:25 -0400
commitbea6412a994a8f49d81bc103907563ab9f94c371 (patch)
tree93afcafccce0f149d4221ec4bb6156dcdafdb0e5 /drivers/gpu/drm/omapdrm/omap_drv.c
parent82c5cde1c4b01a62c9a19c9118b4b434c333ce86 (diff)
parent49006bfd31f728a0dfdef6ef41635f0e6c546155 (diff)
Merge branch 'am33xx' into omap-for-v3.11/cleanup
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_drv.c')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_drv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c
index 9c53c25e5201..826586ffbe83 100644
--- a/drivers/gpu/drm/omapdrm/omap_drv.c
+++ b/drivers/gpu/drm/omapdrm/omap_drv.c
@@ -649,6 +649,9 @@ static void pdev_shutdown(struct platform_device *device)
649 649
650static int pdev_probe(struct platform_device *device) 650static int pdev_probe(struct platform_device *device)
651{ 651{
652 if (omapdss_is_initialized() == false)
653 return -EPROBE_DEFER;
654
652 DBG("%s", device->name); 655 DBG("%s", device->name);
653 return drm_platform_init(&omap_drm_driver, device); 656 return drm_platform_init(&omap_drm_driver, device);
654} 657}