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>
This commit is contained in:

committed by
Dave Airlie

parent
915b4d11b8
commit
c5786fe5f1
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user