瀏覽代碼

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 年之前
父節點
當前提交
81b571b771
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;