[Intel-gfx] [PATCH xf86-video-intel 08/21] uxa: Use named initializers

Ville Syrjala ville.syrjala at linux.intel.com
Thu Sep 19 16:31:00 UTC 2019


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Silence the compiler warning about missing initializers
by using named initializers.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 src/uxa/intel_display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/uxa/intel_display.c b/src/uxa/intel_display.c
index 809cda1dd56b..ba4b8d87412c 100644
--- a/src/uxa/intel_display.c
+++ b/src/uxa/intel_display.c
@@ -1818,7 +1818,7 @@ error_out:
 }
 
 static const xf86CrtcConfigFuncsRec intel_xf86crtc_config_funcs = {
-	intel_xf86crtc_resize
+	.resize = intel_xf86crtc_resize,
 };
 
 /*
-- 
2.21.0



More information about the Intel-gfx mailing list