summaryrefslogtreecommitdiff
path: root/DuetPkg/PciBusNoEnumerationDxe
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-27 02:11:11 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-27 02:11:11 +0000
commit03c110536d88185e1fb37a56d194f254042f0dfd (patch)
tree408a48bd5686bedc56b6945bb034265a069fab7c /DuetPkg/PciBusNoEnumerationDxe
parentbc14bdb317105f282ca5e6543e97ae545dd681df (diff)
downloadedk2-platforms-03c110536d88185e1fb37a56d194f254042f0dfd.tar.xz
Fix duplicate symbol in this driver.
"GLOBAL_REMOVED_IF_UNREFERENCED" must never be used with an "extern" declaration. It can only be used with the declaration of the actual global variable. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6241 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/PciBusNoEnumerationDxe')
-rw-r--r--DuetPkg/PciBusNoEnumerationDxe/PciBus.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/DuetPkg/PciBusNoEnumerationDxe/PciBus.h b/DuetPkg/PciBusNoEnumerationDxe/PciBus.h
index db5215ca1b..d652238d9e 100644
--- a/DuetPkg/PciBusNoEnumerationDxe/PciBus.h
+++ b/DuetPkg/PciBusNoEnumerationDxe/PciBus.h
@@ -199,8 +199,8 @@ typedef struct _PCI_IO_DEVICE {
//
// Global Variables
//
-extern GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL gPciBusComponentName;
-extern GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gPciBusComponentName2;
+extern EFI_COMPONENT_NAME_PROTOCOL gPciBusComponentName;
+extern EFI_COMPONENT_NAME2_PROTOCOL gPciBusComponentName2;
extern EFI_DRIVER_BINDING_PROTOCOL gPciBusDriverBinding;
extern BOOLEAN gFullEnumeration;