diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-08-29 12:12:44 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-09-10 17:43:10 +1000 |
commit | c5786fe5f1c50941dbe27fc8b4aa1afee46ae893 (patch) | |
tree | a2a8786bdb77a90b319c4e0ced2bf8cceff52f01 /drivers/gpu/drm/drm_pci.c | |
parent | 915b4d11b8b9e7b84ba4a4645b6cc7fbc0c071cf (diff) | |
download | linux-c5786fe5f1c50941dbe27fc8b4aa1afee46ae893.tar.gz linux-c5786fe5f1c50941dbe27fc8b4aa1afee46ae893.tar.bz2 linux-c5786fe5f1c50941dbe27fc8b4aa1afee46ae893.zip |
drm: Goody bye, drm_bus!
..we will not miss you..
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_pci.c')
-rw-r--r-- | drivers/gpu/drm/drm_pci.c | 6 |
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); |