Using struct drm_device.pdev is deprecated in favor of drm_device.dev. The reference to the field was reintroduced during a rebase.
Signed-off-by: Thomas Zimmermann tzimmermann@suse.de Fixes: 9703bb329206 ("drm/vmwgfx: Switch to a managed drm device") Cc: Zack Rusin zackr@vmware.com Cc: Martin Krastev krastevm@vmware.com Cc: Roland Scheidegger sroland@vmware.com Cc: VMware Graphics linux-graphics-maintainer@vmware.com Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c index 8c3eb00e8b54..545b83e338fc 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c @@ -1524,7 +1524,6 @@ static int vmw_probe(struct pci_dev *pdev, const struct pci_device_id *ent) if (IS_ERR(vmw)) return PTR_ERR(vmw);
- vmw->drm.pdev = pdev; pci_set_drvdata(pdev, &vmw->drm);
ret = vmw_driver_load(vmw, ent->device);