summaryrefslogtreecommitdiff
path: root/src/soc/intel/braswell/gpio.c
diff options
context:
space:
mode:
authorDinesh Gehlot <digehlot@google.com>2023-01-17 05:06:10 +0000
committerElyes Haouas <ehaouas@noos.fr>2023-01-18 05:19:19 +0000
commitba09eb71c8ffe94ea752cdbc83ac5f400ebc3772 (patch)
tree5bc5f89dd5b538b82a0d490204bed049d57380f8 /src/soc/intel/braswell/gpio.c
parent4da8830c3d4f65b2bd53ed1c0f4fd7f623ca8c1e (diff)
soc/intel/braswell: 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 <digehlot@google.com> Change-Id: I55fa5941a9255f60c2aa23b90d16cf342d6f458f Reviewed-on: https://review.coreboot.org/c/coreboot/+/72032 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/soc/intel/braswell/gpio.c')
-rw-r--r--src/soc/intel/braswell/gpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/braswell/gpio.c b/src/soc/intel/braswell/gpio.c
index 854d4b5ca7..58970e83c4 100644
--- a/src/soc/intel/braswell/gpio.c
+++ b/src/soc/intel/braswell/gpio.c
@@ -1,10 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <console/console.h>
#include <arch/io.h>
+#include <console/console.h>
#include <device/mmio.h>
#include <device/pci.h>
-#include <soc/gpio.h>
+#include <gpio.h>
#include <soc/pm.h>
#include <soc/smm.h>