From 2f02cc3fb8960754a2a5df6a33f53528e0d830be Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 22 Sep 2006 04:19:34 +1000 Subject: drm: add device/vendor id to drm_device_t for compat with FreeBSD drivers Signed-off-by: Dave Airlie --- drivers/char/drm/i915_dma.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drivers/char/drm/i915_dma.c') diff --git a/drivers/char/drm/i915_dma.c b/drivers/char/drm/i915_dma.c index a7924e28a847..fb7913ff5286 100644 --- a/drivers/char/drm/i915_dma.c +++ b/drivers/char/drm/i915_dma.c @@ -31,10 +31,10 @@ #include "i915_drm.h" #include "i915_drv.h" -#define IS_I965G(dev) (dev->pdev->device == 0x2972 || \ - dev->pdev->device == 0x2982 || \ - dev->pdev->device == 0x2992 || \ - dev->pdev->device == 0x29A2) +#define IS_I965G(dev) (dev->pci_device == 0x2972 || \ + dev->pci_device == 0x2982 || \ + dev->pci_device == 0x2992 || \ + dev->pci_device == 0x29A2) /* Really want an OS-independent resettable timer. Would like to have * this loop run for (eg) 3 sec, but have the timer reset every time -- cgit v1.2.1