From 118b3941374992def5b784f8a6d03b9972e48891 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Thu, 24 Oct 2024 19:16:45 +0200 Subject: [PATCH] sb/intel/lynxpoint/pch: Use boolean for pch_is_lp() pch_is_lp() returns CONFIG(INTEL_LYNXPOINT_LP) which is a boolean, so use boolean instead of int. Change-Id: Ic7bf801f549077cbd493e0a53ba7eff7a72728fb Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/84859 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- src/southbridge/intel/lynxpoint/pch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/southbridge/intel/lynxpoint/pch.h b/src/southbridge/intel/lynxpoint/pch.h index 07f4b9dc16..c64b3e3e10 100644 --- a/src/southbridge/intel/lynxpoint/pch.h +++ b/src/southbridge/intel/lynxpoint/pch.h @@ -100,7 +100,7 @@ struct usb3_port_config { extern const struct usb2_port_config mainboard_usb2_ports[MAX_USB2_PORTS]; extern const struct usb3_port_config mainboard_usb3_ports[MAX_USB3_PORTS]; -static inline int pch_is_lp(void) +static inline bool pch_is_lp(void) { return CONFIG(INTEL_LYNXPOINT_LP); }