diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-03-03 19:50:14 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-09-19 19:01:16 +0300 |
commit | 24a06fef712a98cfe2b409638307d5b349828f72 (patch) | |
tree | 8f0c0dab2cfd4e26d6e974affbc89858f7bd87c9 /src/sna/sna_display_fake.c | |
parent | 696f7eda807932f72ba0eb49c8ec7f2e210dd579 (diff) |
sna: Use named initializers
Avoid -Wno-missing-field-initializers by using named
initializers.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'src/sna/sna_display_fake.c')
-rw-r--r-- | src/sna/sna_display_fake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_display_fake.c b/src/sna/sna_display_fake.c index fa26bda1..401e9a06 100644 --- a/src/sna/sna_display_fake.c +++ b/src/sna/sna_display_fake.c @@ -221,7 +221,7 @@ sna_mode_resize(ScrnInfoPtr scrn, int width, int height) } static const xf86CrtcConfigFuncsRec sna_mode_funcs = { - sna_mode_resize + .resize = sna_mode_resize, }; static bool add_fake_output(struct sna *sna, bool late) |