summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2024-03-21 15:09:51 -0600
committerFelix Held <felix-coreboot@felixheld.de>2024-03-23 01:10:41 +0000
commita57e497e2b30e730f74f1112d1f6134eb7e66cc3 (patch)
treeada90afb0ae823b31301b8783504b11de9e4bcec
parent200f7b7ee13b98d726bd0e5de2792a14c558a7ea (diff)
drivers/intel/ish: Include stdbool.h to identify bool type
When the concerned chip.h file is included in a source file, it causes compilation error saying unknown type name bool. Fix it by including the stdbool.h file in the chip.h file. BUG=None TEST=Build Brox by including the chip.h file in one of the source files. Change-Id: I4159e2c281c3e89dc45555ce38ad8637a3bf8587 Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81417 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Shelley Chen <shchen@google.com>
-rw-r--r--src/drivers/intel/ish/chip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/intel/ish/chip.h b/src/drivers/intel/ish/chip.h
index 69f3253b4e..3bcf65ad41 100644
--- a/src/drivers/intel/ish/chip.h
+++ b/src/drivers/intel/ish/chip.h
@@ -3,6 +3,8 @@
#ifndef __DRIVERS_INTEL_ISH_CHIP_H__
#define __DRIVERS_INTEL_ISH_CHIP_H__
+#include <stdbool.h>
+
/*
* Intel Integrated Sensor Hub (ISH)
*/