diff options
author | K. Y. Srinivasan | 2011-09-13 19:59:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2011-09-16 20:06:02 +0200 |
commit | 84946899bd50035c50d88da9da809aa25de60471 (patch) | |
tree | 98390106d7e0298842be9406ecc1f564b4daa3b6 /drivers/staging/hv/netvsc_drv.c | |
parent | Staging: hv: vmbus: Introduce a utility function to match hv_vmbus_device_id (diff) | |
download | kernel-qcow2-linux-84946899bd50035c50d88da9da809aa25de60471.tar.gz kernel-qcow2-linux-84946899bd50035c50d88da9da809aa25de60471.tar.xz kernel-qcow2-linux-84946899bd50035c50d88da9da809aa25de60471.zip |
Staging: hv: vmbus: Change the signature of struct hv_driver probe function
In preparation to leveraging the driver_data field in struct
hv_vmbus_device_id, change the signature of struct hv_driver probe function.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/netvsc_drv.c')
-rw-r--r-- | drivers/staging/hv/netvsc_drv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/hv/netvsc_drv.c b/drivers/staging/hv/netvsc_drv.c index 30b9c80e2009..d06cde29befe 100644 --- a/drivers/staging/hv/netvsc_drv.c +++ b/drivers/staging/hv/netvsc_drv.c @@ -329,7 +329,8 @@ static void netvsc_send_garp(struct work_struct *w) } -static int netvsc_probe(struct hv_device *dev) +static int netvsc_probe(struct hv_device *dev, + const struct hv_vmbus_device_id *dev_id) { struct net_device *net = NULL; struct net_device_context *net_device_ctx; |