summaryrefslogtreecommitdiff
path: root/include/drm/drm_pci.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2017-05-24 16:51:39 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-06-20 10:40:49 +0200
commit5c484cee7ef9c4fd29fa0ba09640d55960977145 (patch)
treebe51a761aab78f62712edba999a80599c8482595 /include/drm/drm_pci.h
parent76bba2cdb56d2a55c0dd4c3432221881d8c9adcc (diff)
drm: Remove drm_driver->set_busid hook
The only special-case is pci devices, and we can easily handle this in the core. Do so and drop a pile of boilerplate from drivers. Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170524145212.27837-5-daniel.vetter@ffwll.ch
Diffstat (limited to 'include/drm/drm_pci.h')
-rw-r--r--include/drm/drm_pci.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/drm/drm_pci.h b/include/drm/drm_pci.h
index 4579fac1080c..961b16f9b553 100644
--- a/include/drm/drm_pci.h
+++ b/include/drm/drm_pci.h
@@ -49,7 +49,6 @@ void drm_pci_exit(struct drm_driver *driver, struct pci_driver *pdriver);
int drm_get_pci_dev(struct pci_dev *pdev,
const struct pci_device_id *ent,
struct drm_driver *driver);
-int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master);
#else
static inline int drm_get_pci_dev(struct pci_dev *pdev,
const struct pci_device_id *ent,
@@ -57,12 +56,6 @@ static inline int drm_get_pci_dev(struct pci_dev *pdev,
{
return -ENOSYS;
}
-
-static inline int drm_pci_set_busid(struct drm_device *dev,
- struct drm_master *master)
-{
- return -ENOSYS;
-}
#endif
#define DRM_PCIE_SPEED_25 1