mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
bc14bdb317
commit
03c110536d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue