Staging: hv: Make the function stor_vsc_initialize() static
authorK. Y. Srinivasan <kys@microsoft.com>
Wed, 23 Mar 2011 17:50:26 +0000 (10:50 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Apr 2011 04:50:44 +0000 (21:50 -0700)
Make the function  stor_vsc_initialize() 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 141b8fd33be09ef7c1d39b2ecae15bafbb91d219..9a452f26c4a6636bdc55bb7da1dc2c655869e090 100644 (file)
@@ -138,7 +138,6 @@ struct storvsc_device {
 };
 
 /* Interface */
-int stor_vsc_initialize(struct hv_driver *driver);
 int stor_vsc_on_host_reset(struct hv_device *device);
 int blk_vsc_initialize(struct hv_driver *driver);
 
index 5ea09dae35caea1ecdb1c8f5da534ee96d33d49e..af6a37d4bc631042d2239bd1cf657965af1c9e0a 100644 (file)
@@ -77,7 +77,7 @@ struct storvsc_cmd_request {
 /*
  * stor_vsc_initialize - Main entry point
  */
-int stor_vsc_initialize(struct hv_driver *driver)
+static int stor_vsc_initialize(struct hv_driver *driver)
 {
        struct storvsc_driver_object *stor_driver;