diff mbox series

[edk2,5/7] ArmPlatformPkg: move internal PL061 header into driver directory

Message ID 20171130141509.27230-6-ard.biesheuvel@linaro.org
State New
Headers show
Series ArmPlatformPkg cleanup - phase II | expand

Commit Message

Ard Biesheuvel Nov. 30, 2017, 2:15 p.m. UTC
Move the internal PL061 GPIO header file into the driver directory.
It shouldn't be referenced directly by other modules anyway.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
 ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.c                      | 3 ++-
 ArmPlatformPkg/{Include/Drivers => Drivers/PL061GpioDxe}/PL061Gpio.h | 0
 2 files changed, 2 insertions(+), 1 deletion(-)

-- 
2.11.0

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox series

Patch

diff --git a/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.c b/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.c
index 81b9f6daece8..9b36df9daa28 100644
--- a/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.c
+++ b/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.c
@@ -27,7 +27,8 @@ 
 #include <Library/UefiRuntimeServicesTableLib.h>
 
 #include <Protocol/EmbeddedGpio.h>
-#include <Drivers/PL061Gpio.h>
+
+#include "PL061Gpio.h"
 
 PLATFORM_GPIO_CONTROLLER *mPL061PlatformGpio;
 
diff --git a/ArmPlatformPkg/Include/Drivers/PL061Gpio.h b/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.h
similarity index 100%
rename from ArmPlatformPkg/Include/Drivers/PL061Gpio.h
rename to ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.h