From 662e66b0e4f91f08e0d57e30b0bd83421e04bf79 Mon Sep 17 00:00:00 2001 From: Bill Pemberton Date: Mon, 27 Jul 2009 16:47:42 -0400 Subject: [PATCH] Staging: hv: remove VMBUS_CONNECTION typedef Signed-off-by: Bill Pemberton Cc: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- 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 68f3a07371e..7b480f0de5b 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 ec9bfa40955..0adc02abf66 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 */ -- 2.20.1