summaryrefslogtreecommitdiff
path: root/linux-core/drm_stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/drm_stub.c')
-rw-r--r--linux-core/drm_stub.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c
index af080c2d..687550fa 100644
--- a/linux-core/drm_stub.c
+++ b/linux-core/drm_stub.c
@@ -67,7 +67,8 @@ static int fill_in_dev(drm_device_t * dev, struct pci_dev *pdev,
dev->pdev = pdev;
- drm_pm_setup( dev );
+ if (drm_fb_loaded)
+ drm_pm_setup( dev );
#ifdef __alpha__
dev->hose = pdev->sysdata;