diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-05-12 19:34:50 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-17 12:27:13 -0700 |
commit | 90ef117a30b64dd37b735bfbacbc5ae014a9f74f (patch) | |
tree | 736e4c78510a40483347d8c22dbd64644d5ccbe2 /drivers/staging/hv | |
parent | f9819f05f2c5a3fb61853c5fc8d20d61dfbfe89b (diff) |
Staging: hv: netvsc_drv: Make the function netvsc_linkstatus_callback() non-static
In preparation to getting rid of struct netvsc_driver,
make the function netvsc_linkstatus_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>
Diffstat (limited to 'drivers/staging/hv')
-rw-r--r-- | drivers/staging/hv/hyperv_net.h | 2 | ||||
-rw-r--r-- | drivers/staging/hv/netvsc_drv.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 03aa88592fd1..967ef2818fa6 100644 --- a/drivers/staging/hv/hyperv_net.h +++ b/drivers/staging/hv/hyperv_net.h @@ -120,6 +120,8 @@ 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); +void netvsc_linkstatus_callback(struct hv_device *device_obj, + unsigned int status); 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_drv.c b/drivers/staging/hv/netvsc_drv.c index 7b6844f16c4a..e2da7fed7e83 100644 --- a/drivers/staging/hv/netvsc_drv.c +++ b/drivers/staging/hv/netvsc_drv.c @@ -205,7 +205,7 @@ static int netvsc_start_xmit(struct sk_buff *skb, struct net_device *net) /* * netvsc_linkstatus_callback - Link up/down notification */ -static void netvsc_linkstatus_callback(struct hv_device *device_obj, +void netvsc_linkstatus_callback(struct hv_device *device_obj, unsigned int status) { struct net_device *net = dev_get_drvdata(&device_obj->device); |