[PATCH 2/2] staging/hv: declare NetVscOnChannelCallback() static

Bill Pemberton wfp5p at virginia.edu
Tue Apr 27 20:23:48 UTC 2010


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

Signed-off-by: Bill Pemberton <wfp5p at virginia.edu>
---
 drivers/staging/hv/NetVsc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/hv/NetVsc.c b/drivers/staging/hv/NetVsc.c
index fa4e1d9..ae454ec 100644
--- a/drivers/staging/hv/NetVsc.c
+++ b/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;
-- 
1.6.6.1




More information about the devel mailing list