diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-10-04 13:53:40 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-10-09 07:55:33 +0200 |
commit | ffbab09bf939975b62ec233c426bf7df0dd4cea8 (patch) | |
tree | f1ae5917f5061a3cfd2586d515fb36cd793f920a /include/drm | |
parent | drm: Kill ctx_count from struct drm_device (diff) | |
download | linux-ffbab09bf939975b62ec233c426bf7df0dd4cea8.tar.xz linux-ffbab09bf939975b62ec233c426bf7df0dd4cea8.zip |
drm: Remove pci_vendor and pci_device from struct drm_device
We can get the PCI vendor and device IDs via dev->pdev. So we can drop
the duplicated information.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drmP.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index e26b80236719..a5d8024ad56d 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -1184,8 +1184,6 @@ struct drm_device { struct device *dev; /**< Device structure */ 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 |