Staging: hv: netvsc_drv: Make the function netvsc_send non-static
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 13 May 2011 02:34:49 +0000 (19:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 May 2011 19:27:12 +0000 (12:27 -0700)
In preparation to getting rid of struct netvsc_driver,
make the function netvsc_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/netvsc.c

index d67feb163f30aca1bd0a4d43445afdb9f091b1b6..03aa88592fd15adff08beef96ce037f12372db99 100644 (file)
@@ -118,6 +118,8 @@ struct netvsc_device_info {
 /* Interface */
 int netvsc_device_add(struct hv_device *device, void *additional_info);
 int netvsc_device_remove(struct hv_device *device);
+int netvsc_send(struct hv_device *device,
+               struct hv_netvsc_packet *packet);
 int netvsc_initialize(struct hv_driver *drv);
 int rndis_filter_open(struct hv_device *dev);
 int rndis_filter_close(struct hv_device *dev);
index 0bf09d83e428ce5af3d0eb9f85899e3f945e6e59..5ca35ad50ee5fa81eb161f77b58dc1ebe1808173 100644 (file)
@@ -660,7 +660,7 @@ static void netvsc_send_completion(struct hv_device *device,
        put_net_device(device);
 }
 
-static int netvsc_send(struct hv_device *device,
+int netvsc_send(struct hv_device *device,
                        struct hv_netvsc_packet *packet)
 {
        struct netvsc_device *net_device;
This page took 0.030187 seconds and 5 git commands to generate.