diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-05-24 16:51:37 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-05-29 20:57:25 +0200 |
commit | 18e51064c42ca3945b94dd4652156b62457962bc (patch) | |
tree | 47c2433c350497d6087c9f00f44bd5ed9a76c0e5 /include/drm | |
parent | a301b11186151271c20ecebcc1e2ce1928832c93 (diff) | |
download | op-kernel-dev-18e51064c42ca3945b94dd4652156b62457962bc.zip op-kernel-dev-18e51064c42ca3945b94dd4652156b62457962bc.tar.gz |
drm: Remove drm_device->virtdev
This is a leftover from the drm_bus days, where we've had a
bus-specific device type for every bus type in drm_device. Except for
pci (which we can't remove because dri1 drivers) this is all gone. And
the virt driver also doesn't really need it, dev_to_virtio works
perfectly fine.
Cc: David Airlie <airlied@linux.ie>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: virtualization@lists.linux-foundation.org
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170524145212.27837-3-daniel.vetter@ffwll.ch
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drmP.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index b9b5566..3f724c5 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -429,8 +429,6 @@ struct drm_device { struct pci_controller *hose; #endif - struct virtio_device *virtdev; - struct drm_sg_mem *sg; /**< Scatter gather memory */ unsigned int num_crtcs; /**< Number of CRTCs on this device */ |