diff options
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_drv.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_drv.c | 3 |
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 079c54c6f94c..902074bbd1f4 100644 --- a/drivers/gpu/drm/omapdrm/omap_drv.c +++ b/drivers/gpu/drm/omapdrm/omap_drv.c | |||
@@ -548,6 +548,9 @@ static void pdev_shutdown(struct platform_device *device) | |||
548 | 548 | ||
549 | static int pdev_probe(struct platform_device *device) | 549 | static int pdev_probe(struct platform_device *device) |
550 | { | 550 | { |
551 | if (omapdss_is_initialized() == false) | ||
552 | return -EPROBE_DEFER; | ||
553 | |||
551 | DBG("%s", device->name); | 554 | DBG("%s", device->name); |
552 | return drm_platform_init(&omap_drm_driver, device); | 555 | return drm_platform_init(&omap_drm_driver, device); |
553 | } | 556 | } |