aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2013-01-23 20:42:41 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-25 14:17:31 -0500
commitd13984e5c75d1d1db0fb60b468a0e504504c1b4f (patch)
tree4e764be32bbae4cb91a31e4f1762c7a86ac14c8e /drivers/hv
parent7fb96565e3e18ad41857ca6ffdaa9a26ae92df5a (diff)
Drivers: hv: Use consolidated GUID definitions
Use the consolidated GUID definitions in the util and balloon drivers. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv')
-rw-r--r--drivers/hv/hv_balloon.c4
-rw-r--r--drivers/hv/hv_util.c24
2 files changed, 13 insertions, 15 deletions
diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c
index 0ce08c401dc4..c1ad16f763ce 100644
--- a/drivers/hv/hv_balloon.c
+++ b/drivers/hv/hv_balloon.c
@@ -1005,9 +1005,7 @@ static int balloon_remove(struct hv_device *dev)
1005static const struct hv_vmbus_device_id id_table[] = { 1005static const struct hv_vmbus_device_id id_table[] = {
1006 /* Dynamic Memory Class ID */ 1006 /* Dynamic Memory Class ID */
1007 /* 525074DC-8985-46e2-8057-A307DC18A502 */ 1007 /* 525074DC-8985-46e2-8057-A307DC18A502 */
1008 { VMBUS_DEVICE(0xdc, 0x74, 0x50, 0X52, 0x85, 0x89, 0xe2, 0x46, 1008 { HV_DM_GUID, },
1009 0x80, 0x57, 0xa3, 0x07, 0xdc, 0x18, 0xa5, 0x02)
1010 },
1011 { }, 1009 { },
1012}; 1010};
1013 1011
diff --git a/drivers/hv/hv_util.c b/drivers/hv/hv_util.c
index a62a76062508..8b7868a5bad0 100644
--- a/drivers/hv/hv_util.c
+++ b/drivers/hv/hv_util.c
@@ -314,21 +314,21 @@ static int util_remove(struct hv_device *dev)
314 314
315static const struct hv_vmbus_device_id id_table[] = { 315static const struct hv_vmbus_device_id id_table[] = {
316 /* Shutdown guid */ 316 /* Shutdown guid */
317 { VMBUS_DEVICE(0x31, 0x60, 0x0B, 0X0E, 0x13, 0x52, 0x34, 0x49, 317 { HV_SHUTDOWN_GUID,
318 0x81, 0x8B, 0x38, 0XD9, 0x0C, 0xED, 0x39, 0xDB) 318 .driver_data = (unsigned long)&util_shutdown
319 .driver_data = (unsigned long)&util_shutdown }, 319 },
320 /* Time synch guid */ 320 /* Time synch guid */
321 { VMBUS_DEVICE(0x30, 0xe6, 0x27, 0x95, 0xae, 0xd0, 0x7b, 0x49, 321 { HV_TS_GUID,
322 0xad, 0xce, 0xe8, 0x0a, 0xb0, 0x17, 0x5c, 0xaf) 322 .driver_data = (unsigned long)&util_timesynch
323 .driver_data = (unsigned long)&util_timesynch }, 323 },
324 /* Heartbeat guid */ 324 /* Heartbeat guid */
325 { VMBUS_DEVICE(0x39, 0x4f, 0x16, 0x57, 0x15, 0x91, 0x78, 0x4e, 325 { HV_HEART_BEAT_GUID,
326 0xab, 0x55, 0x38, 0x2f, 0x3b, 0xd5, 0x42, 0x2d) 326 .driver_data = (unsigned long)&util_heartbeat
327 .driver_data = (unsigned long)&util_heartbeat }, 327 },
328 /* KVP guid */ 328 /* KVP guid */
329 { VMBUS_DEVICE(0xe7, 0xf4, 0xa0, 0xa9, 0x45, 0x5a, 0x96, 0x4d, 329 { HV_KVP_GUID,
330 0xb8, 0x27, 0x8a, 0x84, 0x1e, 0x8c, 0x3, 0xe6) 330 .driver_data = (unsigned long)&util_kvp
331 .driver_data = (unsigned long)&util_kvp }, 331 },
332 { }, 332 { },
333}; 333};
334 334