summaryrefslogtreecommitdiff
path: root/linux-core/drm_stub.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2005-06-28 08:03:33 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2005-06-28 08:03:33 +0000
commitb6b270a2607088997a0ec74cb1d618f140a382f7 (patch)
tree04bad1e8ba035c41857b9fa0a993d9d26580a0fc /linux-core/drm_stub.c
parent75ba453365380851d3297a9d553302021af923b2 (diff)
Given that BenH says using the sysdev approach for DRM is bogus, I'll yank
the code for it, rather than introducing something that isn't going to work 100% of the time.
Diffstat (limited to 'linux-core/drm_stub.c')
-rw-r--r--linux-core/drm_stub.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c
index d7baeb84..7d0e075a 100644
--- a/linux-core/drm_stub.c
+++ b/linux-core/drm_stub.c
@@ -94,10 +94,6 @@ static int fill_in_dev(drm_device_t * dev, struct pci_dev *pdev,
dev->driver = driver;
- if (drm_fb_loaded)
- if ((retcode = drm_pm_setup( dev )))
- goto error_out_unreg;
-
if (dev->driver->preinit)
if ((retcode = dev->driver->preinit(dev, ent->driver_data)))
goto error_out_unreg;