]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
Staging: hv: vmbus_drv: Rename the variable gChannelMessageTable
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:55:38 +0000 (07:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:49:13 +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 a8be5654bfd0d8bee2c4a7c147244f957c07f2fb..95eef92f0b9da29e8fa9116ac2684c56700ed200 100644 (file)
@@ -698,7 +698,7 @@ static void vmbus_onversion_response(
 
 /* Channel message dispatch table */
 static struct vmbus_channel_message_table_entry
-       gChannelMessageTable[CHANNELMSG_COUNT] = {
+       channel_message_table[CHANNELMSG_COUNT] = {
        {CHANNELMSG_INVALID,                    NULL},
        {CHANNELMSG_OFFERCHANNEL,               vmbus_onoffer},
        {CHANNELMSG_RESCIND_CHANNELOFFER,       vmbus_onoffer_rescind},
@@ -740,8 +740,8 @@ void vmbus_onmessage(void *context)
                return;
        }
 
-       if (gChannelMessageTable[hdr->msgtype].message_handler)
-               gChannelMessageTable[hdr->msgtype].message_handler(hdr);
+       if (channel_message_table[hdr->msgtype].message_handler)
+               channel_message_table[hdr->msgtype].message_handler(hdr);
        else
                pr_err("Unhandled channel message type %d\n", hdr->msgtype);
 }