diff options
author | Eric Anholt <eric@anholt.net> | 2006-09-22 04:19:34 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-09-22 05:32:34 +1000 |
commit | 2f02cc3fb8960754a2a5df6a33f53528e0d830be (patch) | |
tree | 73c692f47c6f589e394b71b89122f9566ecbd11d /drivers/char/drm/drmP.h | |
parent | e08870c87ab5b0c0c3cb05d0d0041240736493e4 (diff) | |
download | op-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.h | 2 |
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 |