> On Jan 18, 2021, at 08:14, Thomas Zimmermann <tzimmermann@xxxxxxx> wrote: > > 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@xxxxxxx> > Fixes: 9703bb329206 ("drm/vmwgfx: Switch to a managed drm device") > Cc: Zack Rusin <zackr@xxxxxxxxxx> > Cc: Martin Krastev <krastevm@xxxxxxxxxx> > Cc: Roland Scheidegger <sroland@xxxxxxxxxx> > Cc: VMware Graphics <linux-graphics-maintainer@xxxxxxxxxx> > Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx > --- > 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); Ah, sorry about that. Looks good. Reviewed-by: Zack Rusin <zackr@xxxxxxxxxx> _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel