diff options
author | Arnd Bergmann <[email protected]> | 2020-04-28 23:50:51 +0200 |
---|---|---|
committer | Maxime Ripard <[email protected]> | 2020-05-04 13:48:42 +0200 |
commit | 3a3a71f97c30983f1627c2c550d43566e9b634d2 (patch) | |
tree | b88a09608146273c0f1dfdedd0980c69f6b045d7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c59359a02d14a7256cd508a4886b7d2012df2363 (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 <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions