summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/Vmbus.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-07-29 09:04:51 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:01:52 -0700
commitbd1de709165a4f59878d4a272370fa228aa753f7 (patch)
treee4e112734f4632962790284721548c874bae0820 /drivers/staging/hv/Vmbus.c
parent0b3f683488aaf5f501dfa9758054a23b1b625e4f (diff)
downloadop-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/Vmbus.c')
-rw-r--r--drivers/staging/hv/Vmbus.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/hv/Vmbus.c b/drivers/staging/hv/Vmbus.c
index 60f9afc..c8e0df6 100644
--- a/drivers/staging/hv/Vmbus.c
+++ b/drivers/staging/hv/Vmbus.c
@@ -224,7 +224,7 @@ Description:
--*/
-struct hv_device*
+static struct hv_device*
VmbusChildDeviceCreate(
GUID DeviceType,
GUID DeviceInstance,
@@ -248,7 +248,7 @@ Description:
Registers the child device with the vmbus
--*/
-int
+static int
VmbusChildDeviceAdd(
struct hv_device *ChildDevice)
{
@@ -267,7 +267,7 @@ Description:
Unregisters the child device from the vmbus
--*/
-void
+static void
VmbusChildDeviceRemove(
struct hv_device *ChildDevice)
{
@@ -346,7 +346,7 @@ Description:
Callback when the root bus device is removed
--*/
-int VmbusOnDeviceRemove(
+static int VmbusOnDeviceRemove(
struct hv_device *dev
)
{
@@ -375,7 +375,7 @@ Description:
Perform any cleanup when the driver is removed
--*/
-void
+static void
VmbusOnCleanup(
struct hv_driver *drv
)
@@ -399,7 +399,7 @@ Description:
DPC routine to handle messages from the hypervisior
--*/
-void
+static void
VmbusOnMsgDPC(
struct hv_driver *drv
)
@@ -458,7 +458,7 @@ Description:
DPC routine to handle events from the hypervisior
--*/
-void
+static void
VmbusOnEventDPC(
struct hv_driver* drv
)
@@ -477,7 +477,7 @@ Description:
ISR routine
--*/
-int
+static int
VmbusOnISR(
struct hv_driver *drv
)
OpenPOWER on IntegriCloud