diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-04-29 00:50:51 +0300 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2020-05-04 14:48:42 +0300 |
commit | 3a3a71f97c30983f1627c2c550d43566e9b634d2 (patch) | |
tree | b88a09608146273c0f1dfdedd0980c69f6b045d7 /drivers/phy | |
parent | c59359a02d14a7256cd508a4886b7d2012df2363 (diff) | |
download | linux-3a3a71f97c30983f1627c2c550d43566e9b634d2.tar.xz |
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/phy')
0 files changed, 0 insertions, 0 deletions