summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vc4/tests
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-01-17 17:52:51 +0100
committerMaxime Ripard <maxime@cerno.tech>2023-01-19 09:16:04 +0100
commit065ff1dc8764dd6394bb6f6c42e6b1e4fac74911 (patch)
treef2baf81d3bae68debece5d45a75cb7b382990932 /drivers/gpu/drm/vc4/tests
parent04ee27671a6a699a8429adc7be9fa93ff228031e (diff)
vc4: fix build failure in vc4_dsi_dev_probe()
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; Add another #ifdef in the place it is used in. Alternatively we could consider dropping the #ifdef in the struct definition and all other users. Fixes: 78df640394cd ("drm/vc4: dsi: Convert to using a bridge instead of encoder") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://patchwork.freedesktop.org/patch/msgid/20230117165258.1979922-1-arnd@kernel.org
Diffstat (limited to 'drivers/gpu/drm/vc4/tests')
0 files changed, 0 insertions, 0 deletions