drm/omap: Use {} to zero initialize the mode
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 24 Jul 2020 19:07:18 +0000 (22:07 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 24 Jul 2020 20:01:46 +0000 (23:01 +0300)
commit7d98404c8162b7f1d1b22eccce92f5ee7f93cab8
tree56728ab0cf85707a0b3067273980357a9b21b1a1
parent206739119508d5ab4b42ab480ff61a7e6cd72d7c
drm/omap: Use {} to zero initialize the mode

The first member of drm_display_mode is no longer a structure, but
the code is still using {{0}} to zero initialize it. Make that just
{} so it works regardless of what lies inside.

Cc: Dave Airlie <airlied@redhat.com>
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Fixes: 42acb06b01b1 ("drm: pahole struct drm_display_mode")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200724190718.23567-1-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch.ch>
drivers/gpu/drm/omapdrm/omap_connector.c