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

Ard Biesheuvel posted 7 patches 7 years ago
[edk2] [PATCH 5/7] ArmPlatformPkg: move internal PL061 header into driver directory
Posted by Ard Biesheuvel 7 years ago
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(-)

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
-- 
2.11.0

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