From 18d8fe27b202ade0ad66194e84efed248b674bd7 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Thu, 19 Jan 2023 08:25:22 +0100 Subject: [PATCH] soc/intel/*/include/soc/gpio.h: Add "IWYU pragma: export" comment Change-Id: If44a07503470f57037b59d03eea830703a3c604a Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/72100 Reviewed-by: Werner Zeh Tested-by: build bot (Jenkins) --- src/soc/intel/apollolake/include/soc/gpio.h | 4 ++-- src/soc/intel/cannonlake/include/soc/gpio.h | 2 +- src/soc/intel/elkhartlake/include/soc/gpio.h | 2 +- src/soc/intel/jasperlake/include/soc/gpio.h | 2 +- src/soc/intel/skylake/include/soc/gpio.h | 4 ++-- src/soc/intel/tigerlake/include/soc/gpio.h | 2 +- src/soc/intel/xeon_sp/include/soc/gpio.h | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/soc/intel/apollolake/include/soc/gpio.h b/src/soc/intel/apollolake/include/soc/gpio.h index f06b9f52dc..6dfc54ced2 100644 --- a/src/soc/intel/apollolake/include/soc/gpio.h +++ b/src/soc/intel/apollolake/include/soc/gpio.h @@ -8,8 +8,8 @@ #else #include #endif -#include /* intelblocks/gpio.h depends on definitions in - soc/gpio_glk.h and soc/gpio_apl.h */ +/* intelblocks/gpio.h depends on definitions in soc/gpio_glk.h and soc/gpio_apl.h */ +#include /* IWYU pragma: export */ /* * APL/GLK doesn't support dynamic GPIO PM hence GPIO community diff --git a/src/soc/intel/cannonlake/include/soc/gpio.h b/src/soc/intel/cannonlake/include/soc/gpio.h index f204ca2510..7072b1dea1 100644 --- a/src/soc/intel/cannonlake/include/soc/gpio.h +++ b/src/soc/intel/cannonlake/include/soc/gpio.h @@ -10,7 +10,7 @@ #include #define CROS_GPIO_DEVICE_NAME "INT34BB:00" #endif -#include +#include /* IWYU pragma: export */ /* Enable GPIO community power management configuration */ #define MISCCFG_GPIO_PM_CONFIG_BITS (MISCCFG_GPSIDEDPCGEN | \ diff --git a/src/soc/intel/elkhartlake/include/soc/gpio.h b/src/soc/intel/elkhartlake/include/soc/gpio.h index 1eac393986..f60da27071 100644 --- a/src/soc/intel/elkhartlake/include/soc/gpio.h +++ b/src/soc/intel/elkhartlake/include/soc/gpio.h @@ -4,7 +4,7 @@ #define _SOC_ELKHARTLAKE_GPIO_H_ #include -#include +#include /* IWYU pragma: export */ #define CROS_GPIO_NAME "INTC1020" #define CROS_GPIO_DEVICE_NAME "INTC1020:00" diff --git a/src/soc/intel/jasperlake/include/soc/gpio.h b/src/soc/intel/jasperlake/include/soc/gpio.h index fa7f915eb0..c25e3907f6 100644 --- a/src/soc/intel/jasperlake/include/soc/gpio.h +++ b/src/soc/intel/jasperlake/include/soc/gpio.h @@ -4,7 +4,7 @@ #define _SOC_JASPERLAKE_GPIO_H_ #include -#include +#include /* IWYU pragma: export */ #define CROS_GPIO_NAME "INT34C8" #define CROS_GPIO_COMM0_NAME "INT34C8:00" diff --git a/src/soc/intel/skylake/include/soc/gpio.h b/src/soc/intel/skylake/include/soc/gpio.h index b55dea8197..1e33aa335c 100644 --- a/src/soc/intel/skylake/include/soc/gpio.h +++ b/src/soc/intel/skylake/include/soc/gpio.h @@ -4,8 +4,8 @@ #define _SOC_GPIO_H_ #include -#include /* intelblocks/gpio.h depends on definitions in - soc/gpio_defs.h */ +/* intelblocks/gpio.h depends on definitions in soc/gpio_defs.h */ +#include /* IWYU pragma: export */ #define CROS_GPIO_DEVICE_NAME "INT344B:00" diff --git a/src/soc/intel/tigerlake/include/soc/gpio.h b/src/soc/intel/tigerlake/include/soc/gpio.h index eece28f7c9..51df41511e 100644 --- a/src/soc/intel/tigerlake/include/soc/gpio.h +++ b/src/soc/intel/tigerlake/include/soc/gpio.h @@ -9,7 +9,7 @@ #include #define CROS_GPIO_DEVICE_NAME "INT34C5:00" #endif -#include +#include /* IWYU pragma: export */ /* Enable GPIO community power management configuration */ #define MISCCFG_GPIO_PM_CONFIG_BITS (MISCCFG_GPVNNREQEN | \ diff --git a/src/soc/intel/xeon_sp/include/soc/gpio.h b/src/soc/intel/xeon_sp/include/soc/gpio.h index e7ffa6ffcd..10347b7c26 100644 --- a/src/soc/intel/xeon_sp/include/soc/gpio.h +++ b/src/soc/intel/xeon_sp/include/soc/gpio.h @@ -4,7 +4,7 @@ #define _SOC_GPIO_H_ #include -#include +#include /* IWYU pragma: export */ /* * XEON SP series doesn't support dynamic GPIO PM hence GPIO community