diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-05-12 19:34:49 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-17 12:27:12 -0700 |
commit | f9819f05f2c5a3fb61853c5fc8d20d61dfbfe89b (patch) | |
tree | 83ef0d75f003a239b65584e7563b13a88ee0280a | |
parent | a76c36bc0ddc96a74885a3a8ffba268cfd209629 (diff) | |
download | linux-3.10-f9819f05f2c5a3fb61853c5fc8d20d61dfbfe89b.tar.gz linux-3.10-f9819f05f2c5a3fb61853c5fc8d20d61dfbfe89b.tar.bz2 linux-3.10-f9819f05f2c5a3fb61853c5fc8d20d61dfbfe89b.zip |
Staging: hv: netvsc_drv: Make the function netvsc_send non-static
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>
-rw-r--r-- | drivers/staging/hv/hyperv_net.h | 2 | ||||
-rw-r--r-- | drivers/staging/hv/netvsc.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/hv/hyperv_net.h b/drivers/staging/hv/hyperv_net.h index d67feb163f3..03aa88592fd 100644 --- a/drivers/staging/hv/hyperv_net.h +++ b/drivers/staging/hv/hyperv_net.h @@ -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); diff --git a/drivers/staging/hv/netvsc.c b/drivers/staging/hv/netvsc.c index 0bf09d83e42..5ca35ad50ee 100644 --- a/drivers/staging/hv/netvsc.c +++ b/drivers/staging/hv/netvsc.c @@ -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; |