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/netvsc_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/netvsc_drv.c')
-rw-r--r-- | drivers/staging/hv/netvsc_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hv/netvsc_drv.c b/drivers/staging/hv/netvsc_drv.c index 02b200b..439c357 100644 --- a/drivers/staging/hv/netvsc_drv.c +++ b/drivers/staging/hv/netvsc_drv.c @@ -90,7 +90,7 @@ Name: netvsc_drv_init() Desc: NetVsc driver initialization --*/ -int netvsc_drv_init(PFN_DRIVERINITIALIZE pfn_drv_init) +static int netvsc_drv_init(PFN_DRIVERINITIALIZE pfn_drv_init) { int ret=0; NETVSC_DRIVER_OBJECT *net_drv_obj=&g_netvsc_drv.drv_obj; @@ -634,7 +634,7 @@ Name: netvsc_drv_exit() Desc: --*/ -void netvsc_drv_exit(void) +static void netvsc_drv_exit(void) { NETVSC_DRIVER_OBJECT *netvsc_drv_obj=&g_netvsc_drv.drv_obj; struct driver_context *drv_ctx=&g_netvsc_drv.drv_ctx; |