summaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drmP.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-09-22 04:19:34 +1000
committerDave Airlie <airlied@linux.ie>2006-09-22 05:32:34 +1000
commit2f02cc3fb8960754a2a5df6a33f53528e0d830be (patch)
tree73c692f47c6f589e394b71b89122f9566ecbd11d /drivers/char/drm/drmP.h
parente08870c87ab5b0c0c3cb05d0d0041240736493e4 (diff)
downloadop-kernel-dev-2f02cc3fb8960754a2a5df6a33f53528e0d830be.zip
op-kernel-dev-2f02cc3fb8960754a2a5df6a33f53528e0d830be.tar.gz
drm: add device/vendor id to drm_device_t for compat with FreeBSD drivers
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drmP.h')
-rw-r--r--drivers/char/drm/drmP.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h
index 4363f6e..7690a59 100644
--- a/drivers/char/drm/drmP.h
+++ b/drivers/char/drm/drmP.h
@@ -723,6 +723,8 @@ typedef struct drm_device {
drm_agp_head_t *agp; /**< AGP data */
struct pci_dev *pdev; /**< PCI device structure */
+ int pci_vendor; /**< PCI vendor id */
+ int pci_device; /**< PCI device id */
#ifdef __alpha__
struct pci_controller *hose;
#endif
OpenPOWER on IntegriCloud