From e420fea291a6fed8c5d5a237e1f07cbece74a57d Mon Sep 17 00:00:00 2001 From: Keith Short Date: Fri, 11 Feb 2022 15:46:24 -0700 Subject: gpio: cleanup header usage for chipset task chipset.h only requires the enum gpio_signal, so use gpio_signal.h instead of gpio.h. The build doesn't compare due to an ASSERT() call in throttle_ap.c after the number of lines increased by 1. From prochot_input_deferred() before the change: 1009b592: 2158 movs r1, #88 ; 0x58 1009b594: f7fd ff76 bl 10099484 After the change 1009b592: 2159 movs r1, #89 ; 0x59 1009b594: f7fd ff76 bl 10099484 BUG=b:218856245 BRANCH=none TEST=compare_build.sh Signed-off-by: Keith Short Change-Id: I30dcdec6985d51279512c25889f03b5f9b1955e9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3489093 Reviewed-by: Tristan Honscheid --- board/drawcia/led.c | 1 + 1 file changed, 1 insertion(+) (limited to 'board/drawcia') diff --git a/board/drawcia/led.c b/board/drawcia/led.c index 42518c71fc..ed22fc29ba 100644 --- a/board/drawcia/led.c +++ b/board/drawcia/led.c @@ -8,6 +8,7 @@ #include "cbi_fw_config.h" #include "charge_state.h" #include "extpower.h" +#include "gpio.h" #include "hooks.h" #include "led_common.h" -- cgit v1.2.1