summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-01-10 22:18:10 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-11 21:49:15 +0000
commit8473322727fe370489911471d4ebc75fbff9ba3e (patch)
tree052135ed86920645d3eb147526ce9069d805d3d2 /src/soc/amd
parentbaaee5fbfe9820f4f5a9f12b22964051d3d0fa58 (diff)
soc/amd/cezanne/include/i2c: move include inside header guard
Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I3a8c21c462258c8a419ccc3f2db50f74a154e465 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60975 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/cezanne/include/soc/i2c.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/cezanne/include/soc/i2c.h b/src/soc/amd/cezanne/include/soc/i2c.h
index 674c8e37b1..0bea365058 100644
--- a/src/soc/amd/cezanne/include/soc/i2c.h
+++ b/src/soc/amd/cezanne/include/soc/i2c.h
@@ -1,10 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <soc/gpio.h>
-
#ifndef AMD_CEZANNE_I2C_H
#define AMD_CEZANNE_I2C_H
+#include <soc/gpio.h>
+
#define GPIO_I2C0_SCL BIT(0)
#define GPIO_I2C1_SCL BIT(1)
#define GPIO_I2C2_SCL BIT(2)