]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
Staging: hv: netvsc_drv: Make the function rndis_filter_send() non-static
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 13 May 2011 02:34:53 +0000 (19:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 May 2011 19:27:14 +0000 (12:27 -0700)
In preparation to getting rid of struct netvsc_driver,
make the function  rndis_filter_send()  non-static.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/hyperv_net.h
drivers/staging/hv/rndis_filter.c

index bb8889b16051495e43689a50d28d8cf440083b00..820008ed020bc92da1df8192ffaa78d707eca32c 100644 (file)
@@ -135,6 +135,9 @@ int rndis_filter_receive(struct hv_device *dev,
 
 
 
+int rndis_filter_send(struct hv_device *dev,
+                       struct hv_netvsc_packet *pkt);
+
 #define NVSP_INVALID_PROTOCOL_VERSION  ((u32)0xFFFFFFFF)
 
 #define NVSP_PROTOCOL_VERSION_1                2
index d6c957f234feb6912e7ab3c023d30e67f9310a16..bc4e06bf1cfa445d39574ed474799fd8da9b69cd 100644 (file)
@@ -82,9 +82,6 @@ struct rndis_filter_packet {
 };
 
 
-static int rndis_filter_send(struct hv_device *dev,
-                            struct hv_netvsc_packet *pkt);
-
 static void rndis_filter_send_completion(void *ctx);
 
 static void rndis_filter_send_request_completion(void *ctx);
@@ -822,7 +819,7 @@ int rndis_filter_close(struct hv_device *dev)
        return rndis_filter_close_device(netDevice->extension);
 }
 
-static int rndis_filter_send(struct hv_device *dev,
+int rndis_filter_send(struct hv_device *dev,
                             struct hv_netvsc_packet *pkt)
 {
        int ret;