Staging: hv: vmbus_drv: Rename the variable messageHandler
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:55:36 +0000 (07:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:49:12 +0000 (13:49 -0700)
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/channel_mgmt.c

index 71b79c636654da9b348c90091d8734775dd98022..bc6e235f949c3407a4af3a2a11c98e2fa82883bc 100644 (file)
@@ -35,7 +35,7 @@
 
 struct vmbus_channel_message_table_entry {
        enum vmbus_channel_message_type messageType;
-       void (*messageHandler)(struct vmbus_channel_message_header *msg);
+       void (*message_handler)(struct vmbus_channel_message_header *msg);
 };
 
 #define MAX_MSG_TYPES                    4
@@ -740,8 +740,8 @@ void vmbus_onmessage(void *context)
                return;
        }
 
-       if (gChannelMessageTable[hdr->msgtype].messageHandler)
-               gChannelMessageTable[hdr->msgtype].messageHandler(hdr);
+       if (gChannelMessageTable[hdr->msgtype].message_handler)
+               gChannelMessageTable[hdr->msgtype].message_handler(hdr);
        else
                pr_err("Unhandled channel message type %d\n", hdr->msgtype);
 }