summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2017-07-19 17:14:28 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2018-05-25 12:53:25 +0800
commit5b529feaaaebb31521115f9b35b3eabd118d2773 (patch)
tree7dcd2a2d07fd8b8ddc5acc09b1e1a5316b19edec
parent3adc5a5fcd8feeb91d0650881b354b4faed3fffb (diff)
downloadedk2-5b529feaaaebb31521115f9b35b3eabd118d2773.tar.gz
edk2-5b529feaaaebb31521115f9b35b3eabd118d2773.tar.bz2
edk2-5b529feaaaebb31521115f9b35b3eabd118d2773.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> (cherry picked from commit fcccba378bebd740bfa3e36d684215d739421181)
-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;