diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-29 09:04:51 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:52 -0700 |
commit | bd1de709165a4f59878d4a272370fa228aa753f7 (patch) | |
tree | e4e112734f4632962790284721548c874bae0820 /drivers/staging/hv/ChannelMgmt.c | |
parent | 0b3f683488aaf5f501dfa9758054a23b1b625e4f (diff) | |
download | op-kernel-dev-bd1de709165a4f59878d4a272370fa228aa753f7.zip op-kernel-dev-bd1de709165a4f59878d4a272370fa228aa753f7.tar.gz |
Staging: hv: fix sparse static warnings
This fixes up all of the sparse warnings about static functions.
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/ChannelMgmt.c')
-rw-r--r-- | drivers/staging/hv/ChannelMgmt.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/hv/ChannelMgmt.c b/drivers/staging/hv/ChannelMgmt.c index 9da5740..c5efc6e 100644 --- a/drivers/staging/hv/ChannelMgmt.c +++ b/drivers/staging/hv/ChannelMgmt.c @@ -87,7 +87,7 @@ VmbusChannelProcessRescindOffer( #define MAX_NUM_DEVICE_CLASSES_SUPPORTED 4 -const GUID gSupportedDeviceClasses[MAX_NUM_DEVICE_CLASSES_SUPPORTED]= { +static const GUID gSupportedDeviceClasses[MAX_NUM_DEVICE_CLASSES_SUPPORTED]= { /* {ba6163d9-04a1-4d29-b605-72e2ffb1dc7f} */ {.Data = {0xd9, 0x63, 0x61, 0xba, 0xa1, 0x04, 0x29, 0x4d, 0xb6, 0x05, 0x72, 0xe2, 0xff, 0xb1, 0xdc, 0x7f}},/* Storage - SCSI */ /* {F8615163-DF3E-46c5-913F-F2D2F965ED0E} */ @@ -100,7 +100,7 @@ const GUID gSupportedDeviceClasses[MAX_NUM_DEVICE_CLASSES_SUPPORTED]= { }; /* Channel message dispatch table */ -VMBUS_CHANNEL_MESSAGE_TABLE_ENTRY gChannelMessageTable[ChannelMessageCount]= { +static VMBUS_CHANNEL_MESSAGE_TABLE_ENTRY gChannelMessageTable[ChannelMessageCount]= { {ChannelMessageInvalid, NULL}, {ChannelMessageOfferChannel, VmbusChannelOnOffer}, {ChannelMessageRescindChannelOffer, VmbusChannelOnOfferRescind}, @@ -129,7 +129,7 @@ Description: Allocate and initialize a vmbus channel object --*/ -VMBUS_CHANNEL* AllocVmbusChannel(void) +static VMBUS_CHANNEL* AllocVmbusChannel(void) { VMBUS_CHANNEL* channel; @@ -193,7 +193,7 @@ Description: Release the resources used by the vmbus channel object --*/ -void FreeVmbusChannel(VMBUS_CHANNEL* Channel) +static void FreeVmbusChannel(VMBUS_CHANNEL* Channel) { TimerClose(Channel->PollTimer); @@ -665,7 +665,7 @@ Description: This is invoked in the vmbus worker thread context. --*/ -void +static void VmbusOnChannelMessage( void *Context ) @@ -714,7 +714,7 @@ Description: Send a request to get all our pending offers. --*/ -int +static int VmbusChannelRequestOffers( void ) @@ -776,7 +776,7 @@ Description: Release channels that are unattached/unconnected ie (no drivers associated) --*/ -void +static void VmbusChannelReleaseUnattachedChannels( void ) |