mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-05 21:35:04 +08:00
d5ad78436a
The of_node member in struct drm_bridge is hidden when CONFIG_OF
is disabled, causing a build error:
drivers/gpu/drm/bridge/dw-hdmi.c: In function '__dw_hdmi_probe':
drivers/gpu/drm/bridge/dw-hdmi.c:2063:14: error: 'struct drm_bridge' has no member named 'of_node'
We could fix this either using a Kconfig dependency on CONFIG_OF
or making the one line conditional. The latter gives us better
compile test coverage, so this is what I'm doing here.
Fixes:
|
||
---|---|---|
.. | ||
adv7511 | ||
analogix | ||
analogix-anx78xx.c | ||
analogix-anx78xx.h | ||
dumb-vga-dac.c | ||
dw-hdmi-ahb-audio.c | ||
dw-hdmi-audio.h | ||
dw-hdmi-i2s-audio.c | ||
dw-hdmi.c | ||
dw-hdmi.h | ||
Kconfig | ||
Makefile | ||
nxp-ptn3460.c | ||
parade-ps8622.c | ||
sii902x.c | ||
sil-sii8620.c | ||
sil-sii8620.h | ||
tc358767.c | ||
ti-tfp410.c |