Hi all,
After merging the drm-misc tree, today's linux-next build (powerpc allyesconfig) failed like this:
drivers/gpu/drm/nouveau/nouveau_connector.c: In function 'nouveau_connector_of_detect': drivers/gpu/drm/nouveau/nouveau_connector.c:463:59: error: 'struct drm_device' has no member named 'pdev'; did you mean 'dev'? 463 | struct device_node *cn, *dn = pci_device_to_OF_node(dev->pdev); | ^~~~ | dev
Caused by commit
b347e04452ff ("drm: Remove pdev field from struct drm_device")
I have reverted that commit for today.
Hi
Am 12.05.21 um 07:00 schrieb Stephen Rothwell:
Hi all,
After merging the drm-misc tree, today's linux-next build (powerpc allyesconfig) failed like this:
drivers/gpu/drm/nouveau/nouveau_connector.c: In function 'nouveau_connector_of_detect': drivers/gpu/drm/nouveau/nouveau_connector.c:463:59: error: 'struct drm_device' has no member named 'pdev'; did you mean 'dev'? 463 | struct device_node *cn, *dn = pci_device_to_OF_node(dev->pdev); | ^~~~ | dev
Caused by commit
b347e04452ff ("drm: Remove pdev field from struct drm_device")
I have reverted that commit for today.
Thanks for reporting. pdev is gone, but the references are sometimes hard to find. You may want to undo the revert and try the fix at [1]. The patch should hit drm-misc-next ASAP.
Best regards Thomas
[1] https://lore.kernel.org/dri-devel/20210512185527.26050-1-tzimmermann@suse.de...
dri-devel@lists.freedesktop.org