Răsfoiți Sursa

Staging: hv: declare NetVscOnChannelCallback() static

NetVscOnChannelCallback() was prototyped as static, but the actual
declartion of the function was not static.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Bill Pemberton 15 ani în urmă
părinte
comite
81b571b771
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      drivers/staging/hv/NetVsc.c

+ 1 - 1
drivers/staging/hv/NetVsc.c

@@ -1286,7 +1286,7 @@ static void NetVscOnReceiveCompletion(void *Context)
 	DPRINT_EXIT(NETVSC);
 }
 
-void NetVscOnChannelCallback(void *Context)
+static void NetVscOnChannelCallback(void *Context)
 {
 	int ret;
 	struct hv_device *device = Context;