From 1b7b7a36978c4294b00edc96ca7cd195f3f597a5 Mon Sep 17 00:00:00 2001 From: Jacob Garber Date: Fri, 16 Aug 2019 16:23:37 -0600 Subject: mb,autoport: Fix GCC 9 Port_List build error Port_List is an array of 8 elements, and GCC 9 is warning that there are no 'others' when all 8 elements are explicitly initialized, which is causing the build to fail. Remove the 'others => Disabled' clause to silence this. Change-Id: Id082e7a76641438f3fb4c4d976dbd254a7053473 Signed-off-by: Jacob Garber Reviewed-on: https://review.coreboot.org/c/coreboot/+/34918 Reviewed-by: HAOUAS Elyes Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- src/mainboard/lenovo/s230u/gma-mainboard.ads | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mainboard/lenovo/s230u') diff --git a/src/mainboard/lenovo/s230u/gma-mainboard.ads b/src/mainboard/lenovo/s230u/gma-mainboard.ads index d4a5d7d990..e45320f36e 100644 --- a/src/mainboard/lenovo/s230u/gma-mainboard.ads +++ b/src/mainboard/lenovo/s230u/gma-mainboard.ads @@ -28,7 +28,6 @@ private package GMA.Mainboard is HDMI2, HDMI3, Analog, - Internal, - others => Disabled); + Internal); end GMA.Mainboard; -- cgit v1.2.3