From a464af451e4765cfb65b65fbe9314c309a1671b3 Mon Sep 17 00:00:00 2001 From: Dinesh Gehlot Date: Tue, 17 Jan 2023 05:23:16 +0000 Subject: [PATCH] soc/intel/elkhartlake: Use common gpio.h include Replace the intelblocks/gpio.h, soc/gpio.h and soc/gpio_defs.h includes with the common gpio.h which includes soc/gpio.h which includes intelblocks/gpio.h which includes soc/gpio_defs.h. BUG=b:261778357 TEST=Able to build and boot. Signed-off-by: Dinesh Gehlot Change-Id: I73bac9560d0ff315d6fe6f4efc3ee9011f77c660 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72036 Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) --- src/soc/intel/elkhartlake/acpi/gpio.asl | 3 +-- src/soc/intel/elkhartlake/chip.c | 2 +- src/soc/intel/elkhartlake/chip.h | 4 +--- src/soc/intel/elkhartlake/gpio.c | 2 +- src/soc/intel/elkhartlake/pmutil.c | 2 +- 5 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/soc/intel/elkhartlake/acpi/gpio.asl b/src/soc/intel/elkhartlake/acpi/gpio.asl index fa3ef57ec7..aa140e8688 100644 --- a/src/soc/intel/elkhartlake/acpi/gpio.asl +++ b/src/soc/intel/elkhartlake/acpi/gpio.asl @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include -#include +#include #include #include #include diff --git a/src/soc/intel/elkhartlake/chip.c b/src/soc/intel/elkhartlake/chip.c index 03f9cc9b0f..4d61c3b5ed 100644 --- a/src/soc/intel/elkhartlake/chip.c +++ b/src/soc/intel/elkhartlake/chip.c @@ -4,9 +4,9 @@ #include #include #include +#include #include #include -#include #include #include #include diff --git a/src/soc/intel/elkhartlake/chip.h b/src/soc/intel/elkhartlake/chip.h index 0188e70b05..8743eb0871 100644 --- a/src/soc/intel/elkhartlake/chip.h +++ b/src/soc/intel/elkhartlake/chip.h @@ -4,14 +4,12 @@ #define _SOC_CHIP_H_ #include +#include #include -#include #include #include #include #include -#include -#include #include #include #include diff --git a/src/soc/intel/elkhartlake/gpio.c b/src/soc/intel/elkhartlake/gpio.c index 91ab9601fd..d329b52029 100644 --- a/src/soc/intel/elkhartlake/gpio.c +++ b/src/soc/intel/elkhartlake/gpio.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ -#include +#include #include #include #include diff --git a/src/soc/intel/elkhartlake/pmutil.c b/src/soc/intel/elkhartlake/pmutil.c index 072daffb1b..0cf4227cb6 100644 --- a/src/soc/intel/elkhartlake/pmutil.c +++ b/src/soc/intel/elkhartlake/pmutil.c @@ -13,13 +13,13 @@ #include #include #include +#include #include #include #include #include #include #include -#include #include #include #include