]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: hv: netvsc_drv: Make the function rndis_filter_receive() non-static
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 13 May 2011 02:34:52 +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_receive()  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 92b56dce196147e6342c75c0d1bc4fb7a1bc3ee7..bb8889b16051495e43689a50d28d8cf440083b00 100644 (file)
@@ -130,7 +130,8 @@ int rndis_filter_close(struct hv_device *dev);
 int rndis_filte_device_add(struct hv_device *dev,
                        void *additional_info);
 int rndis_filter_device_remove(struct hv_device *dev);
-
+int rndis_filter_receive(struct hv_device *dev,
+                       struct hv_netvsc_packet *pkt);
 
 
 
index f941323f2cb04961d06d3a4a0eb0fa4a3b25e0c1..d6c957f234feb6912e7ab3c023d30e67f9310a16 100644 (file)
@@ -359,7 +359,7 @@ static void rndis_filter_receive_data(struct rndis_device *dev,
                                                   pkt);
 }
 
-static int rndis_filter_receive(struct hv_device *dev,
+int rndis_filter_receive(struct hv_device *dev,
                                struct hv_netvsc_packet *pkt)
 {
        struct netvsc_device *net_dev = dev->ext;