linux-next: build failure after merge of the drm-misc tree

From: Stephen Rothwell
Date: Wed May 12 2021 - 01:00:17 EST


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.

--
Cheers,
Stephen Rothwell

Attachment: pgpajitqTCBYV.pgp
Description: OpenPGP digital signature