From eb618ba42fe07f0b710f68ba6017cee006a0b0ec Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Mon, 4 Dec 2017 21:57:55 +0000 Subject: [PATCH] ArmPlatformPkg/LcdGraphicsOutputDxe: move headers into driver directory The HdLcd.h and PL111Lcd.h header files are internal headers that should not be used by other drivers. So move them from Include/Drivers into the driver directory instead. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Reviewed-by: Leif Lindholm --- ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c | 3 +-- .../{Include/Drivers => Drivers/LcdGraphicsOutputDxe}/HdLcd.h | 0 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111Lcd.c | 3 +-- .../Drivers => Drivers/LcdGraphicsOutputDxe}/PL111Lcd.h | 0 4 files changed, 2 insertions(+), 4 deletions(-) rename ArmPlatformPkg/{Include/Drivers => Drivers/LcdGraphicsOutputDxe}/HdLcd.h (100%) rename ArmPlatformPkg/{Include/Drivers => Drivers/LcdGraphicsOutputDxe}/PL111Lcd.h (100%) diff --git a/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c b/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c index 2bfe2c0fe2..f5d7b53905 100644 --- a/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c +++ b/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c @@ -18,8 +18,7 @@ #include #include -#include - +#include "HdLcd.h" #include "LcdGraphicsOutputDxe.h" /********************************************************************** diff --git a/ArmPlatformPkg/Include/Drivers/HdLcd.h b/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.h similarity index 100% rename from ArmPlatformPkg/Include/Drivers/HdLcd.h rename to ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.h diff --git a/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111Lcd.c b/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111Lcd.c index b5e113b844..a9ce60c5b0 100644 --- a/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111Lcd.c +++ b/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111Lcd.c @@ -15,9 +15,8 @@ #include #include -#include - #include "LcdGraphicsOutputDxe.h" +#include "PL111Lcd.h" /********************************************************************** * diff --git a/ArmPlatformPkg/Include/Drivers/PL111Lcd.h b/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111Lcd.h similarity index 100% rename from ArmPlatformPkg/Include/Drivers/PL111Lcd.h rename to ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111Lcd.h