diff mbox series

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

Message ID 20171130141509.27230-7-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 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(-)

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