diff options
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r-- | include/drm/drmP.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index e5882d5a68e5..21a3a666a2fd 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -790,21 +790,6 @@ extern void drm_sysfs_hotplug_event(struct drm_device *dev); | |||
790 | 790 | ||
791 | /*@}*/ | 791 | /*@}*/ |
792 | 792 | ||
793 | /* PCI section */ | ||
794 | static __inline__ int drm_pci_device_is_agp(struct drm_device *dev) | ||
795 | { | ||
796 | if (dev->driver->device_is_agp != NULL) { | ||
797 | int err = (*dev->driver->device_is_agp) (dev); | ||
798 | |||
799 | if (err != 2) { | ||
800 | return err; | ||
801 | } | ||
802 | } | ||
803 | |||
804 | return pci_find_capability(dev->pdev, PCI_CAP_ID_AGP); | ||
805 | } | ||
806 | void drm_pci_agp_destroy(struct drm_device *dev); | ||
807 | |||
808 | extern int drm_pci_init(struct drm_driver *driver, struct pci_driver *pdriver); | 793 | extern int drm_pci_init(struct drm_driver *driver, struct pci_driver *pdriver); |
809 | extern void drm_pci_exit(struct drm_driver *driver, struct pci_driver *pdriver); | 794 | extern void drm_pci_exit(struct drm_driver *driver, struct pci_driver *pdriver); |
810 | #ifdef CONFIG_PCI | 795 | #ifdef CONFIG_PCI |