(subset) [PATCH] vc4: fix build failure in vc4_dsi_dev_probe()

Maxime Ripard maxime at cerno.tech
Tue Jan 17 17:06:40 UTC 2023


On Tue, 17 Jan 2023 17:52:51 +0100, Arnd Bergmann wrote:
> The bridge->of_node field is defined inside of an #ifdef, which
> results in a build failure when compile-testing the vc4_dsi driver
> without CONFIG_OF:
> 
> drivers/gpu/drm/vc4/vc4_dsi.c: In function 'vc4_dsi_dev_probe':
> drivers/gpu/drm/vc4/vc4_dsi.c:1822:20: error: 'struct drm_bridge' has no member named 'of_node'
>  1822 |         dsi->bridge.of_node = dev->of_node;
> 
> [...]

Applied to drm/drm-misc (drm-misc-next).

Thanks!
Maxime


More information about the dri-devel mailing list