Staging: hv: Make the function stor_vsc_on_host_reset() static
authorK. Y. Srinivasan <kys@microsoft.com>
Wed, 23 Mar 2011 17:50:34 +0000 (10:50 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Apr 2011 04:50:47 +0000 (21:50 -0700)
Make stor_vsc_on_host_reset() a static function.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/storvsc_api.h
drivers/staging/hv/storvsc_drv.c

index d46b4de255dc4d12b00b4dfb8636f0c1aaebd34f..5f41ef6bcc544e32c2ac056b3d8b59ade22c9c20 100644 (file)
@@ -163,7 +163,6 @@ static inline void put_stor_device(struct hv_device *device)
 }
 
 /* Interface */
-int stor_vsc_on_host_reset(struct hv_device *device);
 
 int stor_vsc_on_device_add(struct hv_device *device,
                                void *additional_info);
index e0a11958141cfa79426120b9c1d8a56020752651..127d12250dd54b3150bf008ac17951bb7ac14104 100644 (file)
@@ -233,7 +233,7 @@ static int storvsc_drv_init(void)
 }
 
 
-int stor_vsc_on_host_reset(struct hv_device *device)
+static int stor_vsc_on_host_reset(struct hv_device *device)
 {
        struct storvsc_device *stor_device;
        struct storvsc_request_extension *request;