summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/common/block/include/intelblocks/gpio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/common/block/include/intelblocks/gpio.h b/src/soc/intel/common/block/include/intelblocks/gpio.h
index a2cccc7cd2..9b351a938f 100644
--- a/src/soc/intel/common/block/include/intelblocks/gpio.h
+++ b/src/soc/intel/common/block/include/intelblocks/gpio.h
@@ -20,9 +20,6 @@
#include <soc/gpio.h>
#include "gpio_defs.h"
-#ifndef __ACPI__
-#include <types.h>
-
/* GPIO community IOSF sideband clock gating */
#define MISCCFG_GPSIDEDPCGEN (1 << 5)
/* GPIO community RCOMP clock gating */
@@ -40,6 +37,9 @@
MISCCFG_GPRCOMPCDLCGEN | MISCCFG_GPRTCDLCGEN | MISCCFG_GSXSLCGEN \
| MISCCFG_GPDPCGEN | MISCCFG_GPDLCGEN)
+#ifndef __ACPI__
+#include <types.h>
+
/*
* GPIO numbers may not be contiguous and instead will have a different
* starting pin number for each pad group.