diff options
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drmP.h | 7 |
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 | |||
1678 | static __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 | |||
1684 | extern int drm_pci_init(struct drm_driver *driver, struct pci_driver *pdriver); | 1677 | extern int drm_pci_init(struct drm_driver *driver, struct pci_driver *pdriver); |
1685 | extern void drm_pci_exit(struct drm_driver *driver, struct pci_driver *pdriver); | 1678 | extern void drm_pci_exit(struct drm_driver *driver, struct pci_driver *pdriver); |
1686 | extern int drm_get_pci_dev(struct pci_dev *pdev, | 1679 | extern int drm_get_pci_dev(struct pci_dev *pdev, |