diff options
Diffstat (limited to 'MdeModulePkg/Universal/Disk')
-rw-r--r-- | MdeModulePkg/Universal/Disk/DiskIoDxe/ComponentName.c | 8 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Disk/PartitionDxe/ComponentName.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/MdeModulePkg/Universal/Disk/DiskIoDxe/ComponentName.c b/MdeModulePkg/Universal/Disk/DiskIoDxe/ComponentName.c index 96fee5cb5f..e957212f27 100644 --- a/MdeModulePkg/Universal/Disk/DiskIoDxe/ComponentName.c +++ b/MdeModulePkg/Universal/Disk/DiskIoDxe/ComponentName.c @@ -17,20 +17,20 @@ //
// EFI Component Name Protocol
//
-EFI_COMPONENT_NAME_PROTOCOL gDiskIoComponentName = {
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL gDiskIoComponentName = {
DiskIoComponentNameGetDriverName,
DiskIoComponentNameGetControllerName,
"eng"
- };
+};
//
// EFI Component Name 2 Protocol
//
-EFI_COMPONENT_NAME2_PROTOCOL gDiskIoComponentName2 = {
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gDiskIoComponentName2 = {
(EFI_COMPONENT_NAME2_GET_DRIVER_NAME) DiskIoComponentNameGetDriverName,
(EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) DiskIoComponentNameGetControllerName,
"en"
- };
+};
static EFI_UNICODE_STRING_TABLE mDiskIoDriverNameTable[] = {
diff --git a/MdeModulePkg/Universal/Disk/PartitionDxe/ComponentName.c b/MdeModulePkg/Universal/Disk/PartitionDxe/ComponentName.c index 6daf8d8abb..c339c9e2bf 100644 --- a/MdeModulePkg/Universal/Disk/PartitionDxe/ComponentName.c +++ b/MdeModulePkg/Universal/Disk/PartitionDxe/ComponentName.c @@ -17,20 +17,20 @@ //
// EFI Component Name Protocol
//
-EFI_COMPONENT_NAME_PROTOCOL gPartitionComponentName = {
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL gPartitionComponentName = {
PartitionComponentNameGetDriverName,
PartitionComponentNameGetControllerName,
"eng"
- };
+};
//
// EFI Component Name 2 Protocol
//
-EFI_COMPONENT_NAME2_PROTOCOL gPartitionComponentName2 = {
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gPartitionComponentName2 = {
(EFI_COMPONENT_NAME2_GET_DRIVER_NAME) PartitionComponentNameGetDriverName,
(EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) PartitionComponentNameGetControllerName,
"en"
- };
+};
static EFI_UNICODE_STRING_TABLE mPartitionDriverNameTable[] = {
|