diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-05-10 14:55:38 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-11 20:49:13 (GMT) |
commit | b7c6b02f34cefae56ff06ebf386bea2610dd849d (patch) | |
tree | 2498ba509a956a9a8b6f750922e56064ecf3df27 | |
parent | cf9dcba7ff852594163c72a0633608377fb53645 (diff) | |
download | linux-fsl-qoriq-b7c6b02f34cefae56ff06ebf386bea2610dd849d.tar.xz |
Staging: hv: vmbus_drv: Rename the variable gChannelMessageTable
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>
-rw-r--r-- | drivers/staging/hv/channel_mgmt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/hv/channel_mgmt.c b/drivers/staging/hv/channel_mgmt.c index a8be565..95eef92 100644 --- a/drivers/staging/hv/channel_mgmt.c +++ b/drivers/staging/hv/channel_mgmt.c @@ -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); } |