From: Bill Pemberton <wfp5p@xxxxxxxxxxxx> Signed-off-by: Bill Pemberton <wfp5p@xxxxxxxxxxxx> Cc: Hank Janssen <hjanssen@xxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx> --- drivers/staging/hv/Connection.c | 2 +- drivers/staging/hv/VmbusPrivate.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/hv/Connection.c b/drivers/staging/hv/Connection.c index 68f3a07..7b480f0 100644 --- a/drivers/staging/hv/Connection.c +++ b/drivers/staging/hv/Connection.c @@ -29,7 +29,7 @@ /* Globals */ -VMBUS_CONNECTION gVmbusConnection = { +struct VMBUS_CONNECTION gVmbusConnection = { .ConnectState = Disconnected, .NextGpadlHandle = 0xE1E10, }; diff --git a/drivers/staging/hv/VmbusPrivate.h b/drivers/staging/hv/VmbusPrivate.h index ec9bfa4..0adc02a 100644 --- a/drivers/staging/hv/VmbusPrivate.h +++ b/drivers/staging/hv/VmbusPrivate.h @@ -63,7 +63,7 @@ enum VMBUS_CONNECT_STATE { #define MAX_SIZE_CHANNEL_MESSAGE HV_MESSAGE_PAYLOAD_BYTE_COUNT -typedef struct _VMBUS_CONNECTION { +struct VMBUS_CONNECTION { enum VMBUS_CONNECT_STATE ConnectState; @@ -94,7 +94,7 @@ typedef struct _VMBUS_CONNECTION { spinlock_t channel_lock; HANDLE WorkQueue; -} VMBUS_CONNECTION; +}; typedef struct _VMBUS_MSGINFO { @@ -112,7 +112,7 @@ typedef struct _VMBUS_MSGINFO { /* Externs */ -extern VMBUS_CONNECTION gVmbusConnection; +extern struct VMBUS_CONNECTION gVmbusConnection; /* General vmbus interface */ -- 1.6.4.2 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel