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/blkvsc_drv.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/blkvsc_drv.c')
-rw-r--r-- | drivers/staging/hv/blkvsc_drv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c index 9de9654..6888909 100644 --- a/drivers/staging/hv/blkvsc_drv.c +++ b/drivers/staging/hv/blkvsc_drv.c @@ -169,7 +169,7 @@ Name: blkvsc_drv_init() Desc: BlkVsc driver initialization. --*/ -int blkvsc_drv_init(PFN_DRIVERINITIALIZE pfn_drv_init) +static int blkvsc_drv_init(PFN_DRIVERINITIALIZE pfn_drv_init) { int ret=0; STORVSC_DRIVER_OBJECT *storvsc_drv_obj=&g_blkvsc_drv.drv_obj; @@ -214,7 +214,7 @@ Name: blkvsc_drv_exit() Desc: --*/ -void blkvsc_drv_exit(void) +static void blkvsc_drv_exit(void) { STORVSC_DRIVER_OBJECT *storvsc_drv_obj=&g_blkvsc_drv.drv_obj; struct driver_context *drv_ctx=&g_blkvsc_drv.drv_ctx; @@ -1390,7 +1390,7 @@ static int blkvsc_revalidate_disk(struct gendisk *gd) return 0; } -int blkvsc_getgeo(struct block_device *bd, struct hd_geometry *hg) +static int blkvsc_getgeo(struct block_device *bd, struct hd_geometry *hg) { sector_t total_sectors = get_capacity(bd->bd_disk); sector_t cylinder_times_heads=0; |