diff options
author | stephen hemminger <stephen@networkplumber.org> | 2014-06-03 17:38:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-04 03:18:38 +0200 |
commit | 1b9d48f2a5794248fef45540961d047b30655bb3 (patch) | |
tree | e1b5f324a46558675ee68ab23a585f3019f9ce7a /drivers/hv/hyperv_vmbus.h | |
parent | lpc_eth: Use resource_size instead of computation (diff) | |
download | linux-1b9d48f2a5794248fef45540961d047b30655bb3.tar.xz linux-1b9d48f2a5794248fef45540961d047b30655bb3.zip |
hyper-v: make uuid_le const
The uuid structure could be managed as a const in several places.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hv/hyperv_vmbus.h')
-rw-r--r-- | drivers/hv/hyperv_vmbus.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h index 860134da8039..f90621e858fa 100644 --- a/drivers/hv/hyperv_vmbus.h +++ b/drivers/hv/hyperv_vmbus.h @@ -644,9 +644,9 @@ extern struct vmbus_connection vmbus_connection; /* General vmbus interface */ -struct hv_device *vmbus_device_create(uuid_le *type, - uuid_le *instance, - struct vmbus_channel *channel); +struct hv_device *vmbus_device_create(const uuid_le *type, + const uuid_le *instance, + struct vmbus_channel *channel); int vmbus_device_register(struct hv_device *child_device_obj); void vmbus_device_unregister(struct hv_device *device_obj); |