From 770a46c6d79b08a4effe4f5c365e58ee51f59131 Mon Sep 17 00:00:00 2001 From: Dinesh Gehlot Date: Tue, 17 Jan 2023 05:54:17 +0000 Subject: soc/intel/skylake: 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. This patch also fixes alphabetic ordering of included headers. BUG=b:261778357 TEST=Able to build and boot. Signed-off-by: Dinesh Gehlot Change-Id: I02fe236506abbc0d97982747cfcf3c0e9ef4897a Reviewed-on: https://review.coreboot.org/c/coreboot/+/72040 Reviewed-by: Elyes Haouas Reviewed-by: Sridhar Siricilla Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/soc/intel/skylake/acpi/gpio.asl | 2 +- src/soc/intel/skylake/chip.h | 2 +- src/soc/intel/skylake/gpio.c | 2 +- src/soc/intel/skylake/pmutil.c | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/soc/intel/skylake/acpi/gpio.asl b/src/soc/intel/skylake/acpi/gpio.asl index f863fc7021..1d22b78f66 100644 --- a/src/soc/intel/skylake/acpi/gpio.asl +++ b/src/soc/intel/skylake/acpi/gpio.asl @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#include #include -#include Device (GPIO) { diff --git a/src/soc/intel/skylake/chip.h b/src/soc/intel/skylake/chip.h index 12a6ae9762..ce8712ca69 100644 --- a/src/soc/intel/skylake/chip.h +++ b/src/soc/intel/skylake/chip.h @@ -7,13 +7,13 @@ #include #include #include +#include #include #include #include #include #include #include -#include #include #include #include diff --git a/src/soc/intel/skylake/gpio.c b/src/soc/intel/skylake/gpio.c index 1ac99121fc..0480a061a1 100644 --- a/src/soc/intel/skylake/gpio.c +++ b/src/soc/intel/skylake/gpio.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include +#include #include #include #include diff --git a/src/soc/intel/skylake/pmutil.c b/src/soc/intel/skylake/pmutil.c index d411c762df..c31fb06567 100644 --- a/src/soc/intel/skylake/pmutil.c +++ b/src/soc/intel/skylake/pmutil.c @@ -8,17 +8,17 @@ #define __SIMPLE_DEVICE__ #include +#include #include #include #include #include #include -#include +#include #include #include #include #include -#include #include #include #include -- cgit v1.2.3