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/hv_util.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/hv_util.c')
-rw-r--r-- | drivers/staging/hv/hv_util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/hv/hv_util.c b/drivers/staging/hv/hv_util.c index 603921771b94..d9460fdd9e4f 100644 --- a/drivers/staging/hv/hv_util.c +++ b/drivers/staging/hv/hv_util.c @@ -239,7 +239,8 @@ static void heartbeat_onchannelcallback(void *context) * The devices managed by the util driver don't need any additional * setup. */ -static int util_probe(struct hv_device *dev) +static int util_probe(struct hv_device *dev, + const struct hv_vmbus_device_id *dev_id) { return 0; } |