aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drmP.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 4912cb75ae4c..d9c8c6c4639a 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1674,13 +1674,6 @@ static __inline__ int drm_pci_device_is_agp(struct drm_device *dev)
1674 return pci_find_capability(dev->pdev, PCI_CAP_ID_AGP); 1674 return pci_find_capability(dev->pdev, PCI_CAP_ID_AGP);
1675} 1675}
1676 1676
1677
1678static __inline__ int drm_pci_device_is_pcie(struct drm_device *dev)
1679{
1680 return pci_find_capability(dev->pdev, PCI_CAP_ID_EXP);
1681}
1682
1683
1684extern int drm_pci_init(struct drm_driver *driver, struct pci_driver *pdriver); 1677extern int drm_pci_init(struct drm_driver *driver, struct pci_driver *pdriver);
1685extern void drm_pci_exit(struct drm_driver *driver, struct pci_driver *pdriver); 1678extern void drm_pci_exit(struct drm_driver *driver, struct pci_driver *pdriver);
1686extern int drm_get_pci_dev(struct pci_dev *pdev, 1679extern int drm_get_pci_dev(struct pci_dev *pdev,