[edk2] [PATCH 6/7] ArmPlatformPkg: move internal SP805 header into driver directory

Ard Biesheuvel posted 7 patches 7 years ago
[edk2] [PATCH 6/7] ArmPlatformPkg: move internal SP805 header into driver directory
Posted by Ard Biesheuvel 7 years ago
Move the internal SP805 watchdog 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/SP805WatchdogDxe/SP805Watchdog.c                      | 3 ++-
 ArmPlatformPkg/{Include/Drivers => Drivers/SP805WatchdogDxe}/SP805Watchdog.h | 0
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.c b/ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.c
index c78d2b9ff99f..0a9f64095bf8 100644
--- a/ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.c
+++ b/ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.c
@@ -25,7 +25,8 @@
 #include <Library/UefiLib.h>
 
 #include <Protocol/WatchdogTimer.h>
-#include <Drivers/SP805Watchdog.h>
+
+#include "SP805Watchdog.h"
 
 EFI_EVENT                           EfiExitBootServicesEvent = (EFI_EVENT)NULL;
 
diff --git a/ArmPlatformPkg/Include/Drivers/SP805Watchdog.h b/ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.h
similarity index 100%
rename from ArmPlatformPkg/Include/Drivers/SP805Watchdog.h
rename to ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.h
-- 
2.11.0

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