]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
Staging: hv: remove VMBUS_CONNECTION typedef
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 27 Jul 2009 20:47:42 +0000 (16:47 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:51 +0000 (12:01 -0700)
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/Connection.c
drivers/staging/hv/VmbusPrivate.h

index 68f3a07371ed0be81d30fd3df32f68b035f91343..7b480f0de5b05ebce2c49d64a7a9c599f25a50cf 100644 (file)
@@ -29,7 +29,7 @@
 /* Globals */
 
 
-VMBUS_CONNECTION gVmbusConnection = {
+struct VMBUS_CONNECTION gVmbusConnection = {
        .ConnectState           = Disconnected,
        .NextGpadlHandle        = 0xE1E10,
 };
index ec9bfa409550cc39d689897a623aefdc74a2bc77..0adc02abf66b9eff756bccbbb3ddfd93335192f3 100644 (file)
@@ -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 */