aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_pci.c
diff options
context:
space:
mode:
authorDavid Herrmann <[email protected]>2014-08-29 10:12:44 +0000
committerDave Airlie <[email protected]>2014-09-10 07:43:10 +0000
commitc5786fe5f1c50941dbe27fc8b4aa1afee46ae893 (patch)
treea2a8786bdb77a90b319c4e0ced2bf8cceff52f01 /drivers/gpu/drm/drm_pci.c
parentdrm: add driver->set_busid() callback (diff)
downloadkernel-c5786fe5f1c50941dbe27fc8b4aa1afee46ae893.tar.gz
kernel-c5786fe5f1c50941dbe27fc8b4aa1afee46ae893.zip
drm: Goody bye, drm_bus!
..we will not miss you.. Signed-off-by: David Herrmann <[email protected]> Reviewed-by: Thierry Reding <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/drm_pci.c')
-rw-r--r--drivers/gpu/drm/drm_pci.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/drm_pci.c b/drivers/gpu/drm/drm_pci.c
index 0400c371cbde..7563130c6b70 100644
--- a/drivers/gpu/drm/drm_pci.c
+++ b/drivers/gpu/drm/drm_pci.c
@@ -254,10 +254,6 @@ void drm_pci_agp_destroy(struct drm_device *dev)
}
}
-static struct drm_bus drm_pci_bus = {
- .set_busid = drm_pci_set_busid,
-};
-
/**
* drm_get_pci_dev - Register a PCI device with the DRM subsystem
* @pdev: PCI device
@@ -338,8 +334,6 @@ int drm_pci_init(struct drm_driver *driver, struct pci_driver *pdriver)
DRM_DEBUG("\n");
- driver->bus = &drm_pci_bus;
-
if (driver->driver_features & DRIVER_MODESET)
return pci_register_driver(pdriver);