summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Protocol
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2017-07-19 17:14:28 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2017-07-26 15:45:19 +0800
commitfcccba378bebd740bfa3e36d684215d739421181 (patch)
tree2d9489b858f3da88dd9b7032fc607df5094d291a /MdePkg/Include/Protocol
parent00beb2abe74022dc9c63040f3af62c0299374cf8 (diff)
downloadedk2-fcccba378bebd740bfa3e36d684215d739421181.tar.gz
edk2-fcccba378bebd740bfa3e36d684215d739421181.tar.bz2
edk2-fcccba378bebd740bfa3e36d684215d739421181.zip
MdePkg/ResetNotification: Rename to UnregisterResetNotify
UEFI Spec uses UnRegisterResetNotify in protocol structure definition but uses UnregisterResetNotify in the function prototype definition. By searching the entire spec, Unregister* is used for SIMPLE_TEXT_INPUT_EX_PROTOCOL.UnregisterKeyNotify(). So choose to use UnregisterResetNotify for consistency. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdePkg/Include/Protocol')
-rw-r--r--MdePkg/Include/Protocol/ResetNotification.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/Protocol/ResetNotification.h b/MdePkg/Include/Protocol/ResetNotification.h
index ade0eee34a..f2834f9ee1 100644
--- a/MdePkg/Include/Protocol/ResetNotification.h
+++ b/MdePkg/Include/Protocol/ResetNotification.h
@@ -76,7 +76,7 @@ EFI_STATUS
typedef struct _EFI_RESET_NOTIFICATION_PROTOCOL {
EFI_REGISTER_RESET_NOTIFY RegisterResetNotify;
- EFI_UNREGISTER_RESET_NOTIFY UnRegisterResetNotify;
+ EFI_UNREGISTER_RESET_NOTIFY UnregisterResetNotify;
} EFI_RESET_NOTIFICATION_PROTOCOL;