HAOUAS Elyes has uploaded this change for review.

View Change

mb/google/volteer: Remove direct 'include <soc/gpio.h>'

Don't directly include <soc/gpio.h>. All code using GPIO features
should always and only include <gpio.h>, which should indirectly
include the SoC-specific <soc/gpio.h>.

Change-Id: I75b1f05020128a5e63cd63212682ca927b8b88af
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
---
M src/mainboard/google/volteer/mainboard.c
M src/mainboard/google/volteer/romstage.c
2 files changed, 1 insertion(+), 2 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/06/41306/1
diff --git a/src/mainboard/google/volteer/mainboard.c b/src/mainboard/google/volteer/mainboard.c
index 1ede7f2..bbfd4ec 100644
--- a/src/mainboard/google/volteer/mainboard.c
+++ b/src/mainboard/google/volteer/mainboard.c
@@ -10,7 +10,7 @@
#include <device/device.h>
#include <ec/ec.h>
#include <ec/google/chromeec/ec.h>
-#include <soc/gpio.h>
+#include <gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include <variant/gpio.h>

diff --git a/src/mainboard/google/volteer/romstage.c b/src/mainboard/google/volteer/romstage.c
index cd4d7fe..8f4fbbf 100644
--- a/src/mainboard/google/volteer/romstage.c
+++ b/src/mainboard/google/volteer/romstage.c
@@ -9,7 +9,6 @@
#include <fsp/soc_binding.h>
#include <gpio.h>
#include <memory_info.h>
-#include <soc/gpio.h>
#include <soc/meminit.h>
#include <soc/romstage.h>
#include <variant/gpio.h>

To view, visit change 41306. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I75b1f05020128a5e63cd63212682ca927b8b88af
Gerrit-Change-Number: 41306
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-MessageType: newchange