summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_hdcp.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-04-28 23:50:51 +0200
committerMaxime Ripard <maxime@cerno.tech>2020-05-04 13:48:42 +0200
commit3a3a71f97c30983f1627c2c550d43566e9b634d2 (patch)
treeb88a09608146273c0f1dfdedd0980c69f6b045d7 /drivers/gpu/drm/drm_hdcp.c
parentc59359a02d14a7256cd508a4886b7d2012df2363 (diff)
sun6i: dsi: fix gcc-4.8
Older compilers warn about initializers with incorrect curly braces: drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c: In function 'sun6i_dsi_encoder_enable': drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c:720:8: error: missing braces around initializer [-Werror=missing-braces] union phy_configure_opts opts = { 0 }; ^ drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c:720:8: error: (near initialization for 'opts.mipi_dphy') [-Werror=missing-braces] Use the GNU empty initializer extension to avoid this. Fixes: bb3b6fcb6849 ("sun6i: dsi: Convert to generic phy handling") Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://patchwork.freedesktop.org/patch/msgid/20200428215105.3928459-1-arnd@arndb.de
Diffstat (limited to 'drivers/gpu/drm/drm_hdcp.c')
0 files changed, 0 insertions, 0 deletions