diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-03-10 22:07:21 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-14 19:29:59 (GMT) |
commit | 3ca07cb06d3176b3eb1bfd49fdc8c8fbe649fa5b (patch) | |
tree | 21f93383add1dc6eabc8ec6d7288333b6a109ad5 /drivers/staging/hv/vmbus_private.h | |
parent | ece0e32fd2870f7d2b2f28a99f8e63bef3c01686 (diff) | |
download | linux-fsl-qoriq-3ca07cb06d3176b3eb1bfd49fdc8c8fbe649fa5b.tar.xz |
Staging: hv: Change the signature for vmbus_child_device_register()
In preparation for getting rid of the vmbus_child_dev_add() function,
modify the signature of vmbus_child_device_register(). Note that
the root device is a global variable.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Mike Sterling <mike.sterling@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/vmbus_private.h')
-rw-r--r-- | drivers/staging/hv/vmbus_private.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/hv/vmbus_private.h b/drivers/staging/hv/vmbus_private.h index 1b88b6f..c176773 100644 --- a/drivers/staging/hv/vmbus_private.h +++ b/drivers/staging/hv/vmbus_private.h @@ -108,8 +108,7 @@ struct hv_device *vmbus_child_device_create(struct hv_guid *type, struct vmbus_channel *channel); int vmbus_child_dev_add(struct hv_device *device); -int vmbus_child_device_register(struct hv_device *root_device_obj, - struct hv_device *child_device_obj); +int vmbus_child_device_register(struct hv_device *child_device_obj); void vmbus_child_device_unregister(struct hv_device *device_obj); /* static void */ |