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

index 967ef2818fa617d4fa5ea43aed91a64e4a514672..92b56dce196147e6342c75c0d1bc4fb7a1bc3ee7 100644 (file)
@@ -122,6 +122,8 @@ int netvsc_send(struct hv_device *device,
                struct hv_netvsc_packet *packet);
 void netvsc_linkstatus_callback(struct hv_device *device_obj,
                                unsigned int status);
+int netvsc_recv_callback(struct hv_device *device_obj,
+                       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 e2da7fed7e830dfcaed57329ae0aaa467f9bd4f3..a55538a5a32ab61b13310354b7fc62ed63421f55 100644 (file)
@@ -233,7 +233,7 @@ void netvsc_linkstatus_callback(struct hv_device *device_obj,
  * netvsc_recv_callback -  Callback when we receive a packet from the
  * "wire" on the specified device.
  */
-static int netvsc_recv_callback(struct hv_device *device_obj,
+int netvsc_recv_callback(struct hv_device *device_obj,
                                struct hv_netvsc_packet *packet)
 {
        struct net_device *net = dev_get_drvdata(&device_obj->device);