[edk2-devel] [PATCH v1 2/2] ArmPlatformPkg: Fix 'missing header' warnings
Sami Mujawar
sami.mujawar at arm.com
Thu Nov 21 14:32:51 UTC 2019
The Basetools scripts have been updated to report
warnings if header files are not listed in the
[Sources] section of the inf files.
Update the inf files to include the respective
header files to fix the reported warnings.
Signed-off-by: Sami Mujawar <sami.mujawar at arm.com>
---
Notes:
v1:
- Fix missing header warnings [SAMI]
ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf | 3 ++-
ArmPlatformPkg/Drivers/PL061GpioDxe/PL061GpioDxe.inf | 1 +
ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf | 3 ++-
ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf | 3 ++-
4 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf b/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf
index 2176e5a5789f3728964b7cc286f85fb03ee88cb4..662256d5aebef20d4223ab2b582b27bade4fa76a 100644
--- a/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf
+++ b/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf
@@ -2,7 +2,7 @@
#
# Component description file for LcdGraphicsOutputDxe module
#
-# Copyright (c) 2011-2012, ARM Ltd. All rights reserved.<BR>
+# Copyright (c) 2011 - 2019, ARM Ltd. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
@@ -18,6 +18,7 @@ [Defines]
[Sources.common]
LcdGraphicsOutputDxe.c
+ LcdGraphicsOutputDxe.h
LcdGraphicsOutputBlt.c
[Packages]
diff --git a/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061GpioDxe.inf b/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061GpioDxe.inf
index 01cea6c3ab21c7b22df5afebde804e0131fa47f3..cdfaaccbff5195674db93f1bcf24754e25981435 100644
--- a/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061GpioDxe.inf
+++ b/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061GpioDxe.inf
@@ -17,6 +17,7 @@ [Defines]
[Sources.common]
PL061Gpio.c
+ PL061Gpio.h
[Packages]
MdePkg/MdePkg.dec
diff --git a/ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf b/ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
index c70377bc7cfaeac1128aae3754f5c56ac8e1ca5c..864cd5958d6761a6d9d520b701dbe7da62525628 100644
--- a/ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
+++ b/ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
@@ -1,7 +1,7 @@
#/** @file
# INF file for the MMC Host Protocol implementation for the ARM PrimeCell PL180.
#
-# Copyright (c) 2011, ARM Limited. All rights reserved.
+# Copyright (c) 2011 - 2019, ARM Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
@@ -18,6 +18,7 @@ [Defines]
[Sources.common]
PL180Mci.c
+ PL180Mci.h
[Packages]
ArmPlatformPkg/ArmPlatformPkg.dec
diff --git a/ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf b/ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf
index 048f6697e93d702c5ec878ccc827e64e583893ea..f152a59fdcd72921528f1e9993f05df0d39aac89 100644
--- a/ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf
+++ b/ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf
@@ -1,6 +1,6 @@
/** @file
*
-* Copyright (c) 2011-2012, ARM Limited. All rights reserved.
+* Copyright (c) 2011 - 2019, ARM Limited. All rights reserved.
* Copyright (c) 2018, Linaro Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -17,6 +17,7 @@ [Defines]
[Sources.common]
SP805Watchdog.c
+ SP805Watchdog.h
[Packages]
ArmPkg/ArmPkg.dec
--
'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#51063): https://edk2.groups.io/g/devel/message/51063
Mute This Topic: https://groups.io/mt/61079002/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list