drm: Add support for platform devices to register as DRM devices
[linux-2.6.git] / drivers / gpu / drm / i915 / i915_drv.c
index 5c51e45..b7aecf5 100644 (file)
@@ -435,7 +435,7 @@ int i965_reset(struct drm_device *dev, u8 flags)
 static int __devinit
 i915_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
 {
-       return drm_get_dev(pdev, ent, &driver);
+       return drm_get_pci_dev(pdev, ent, &driver);
 }
 
 static void