From 89b5f4b33fd5f4ec9cf6b7c341d47f912ad5c7b7 Mon Sep 17 00:00:00 2001 From: czhang46 Date: Tue, 21 Aug 2012 05:26:00 +0000 Subject: Fix some coding style issues Signed-off-by: Chao Zhang Reviewed-by : Kinney Michael git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13653 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c | 7 +++---- MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'MdeModulePkg/Universal/Console') diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c index d34e7ce5aa..870d429c7a 100644 --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c @@ -630,7 +630,7 @@ ConSplitterTextInConstructor ( ConSplitterEmptyCallbackFunction, NULL, &gConnectConInEventGuid, - &ConInPrivate->ConnectConIn + &ConInPrivate->ConnectConInEvent ); return Status; @@ -3355,7 +3355,7 @@ ConSplitterTextInReadKeyStroke ( // if (!mConInIsConnect && PcdGetBool (PcdConInConnectOnDemand)) { DEBUG ((EFI_D_INFO, "Connect ConIn in first ReadKeyStoke in Lazy ConIn mode.\n")); - gBS->SignalEvent (Private->ConnectConIn); + gBS->SignalEvent (Private->ConnectConInEvent); mConInIsConnect = TRUE; } @@ -3543,7 +3543,7 @@ ConSplitterTextInReadKeyStrokeEx ( // if (!mConInIsConnect && PcdGetBool (PcdConInConnectOnDemand)) { DEBUG ((EFI_D_INFO, "Connect ConIn in first ReadKeyStoke in Lazy ConIn mode.\n")); - gBS->SignalEvent (Private->ConnectConIn); + gBS->SignalEvent (Private->ConnectConInEvent); mConInIsConnect = TRUE; } @@ -4727,5 +4727,4 @@ ConSplitterEmptyCallbackFunction ( IN VOID *Context ) { - return; } diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h index b5b1435d92..e32abbaea1 100644 --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h @@ -145,7 +145,7 @@ typedef struct { BOOLEAN KeyEventSignalState; BOOLEAN InputEventSignalState; - EFI_EVENT ConnectConIn; + EFI_EVENT ConnectConInEvent; } TEXT_IN_SPLITTER_PRIVATE_DATA; #define TEXT_IN_SPLITTER_PRIVATE_DATA_FROM_THIS(a) \ -- cgit v1.2.3