diff options
| author | Arnd Bergmann <[email protected]> | 2017-01-23 13:20:38 +0100 |
|---|---|---|
| committer | Archit Taneja <[email protected]> | 2017-01-24 11:23:24 +0530 |
| commit | d5ad78436a8829c9951d82b1b0bdec761dbabfa9 (patch) | |
| tree | 81ead538f1127371782ce660d6a64c05e8bf4878 /net/lapb/lapb_iface.c | |
| parent | c7afee63d1c91af8ba6823855a4791fda7f1aa2a (diff) | |
drm: bridge: dw-hdmi: fix building without CONFIG_OF
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: 69497eb9234e ("drm: bridge: dw-hdmi: Implement DRM bridge registration")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Archit Taneja <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions