summaryrefslogtreecommitdiffstats
path: root/include/linux/hyperv.h
diff options
context:
space:
mode:
authorDexuan Cui <decui@microsoft.com>2015-12-21 15:21:22 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-21 16:07:56 -0500
commit2048157ad02e65f6327118dd4a7b9c9f1fd12f77 (patch)
treebae7c1f26bd773ff5d71b47dd5759791f1a3bd75 /include/linux/hyperv.h
parent940b68e2c3e4ebf032885203c3970e9649f814af (diff)
Drivers: hv: vmbus: fix the building warning with hyperv-keyboard
With the recent change af3ff643ea91ba64dd8d0b1cbed54d44512f96cd (Drivers: hv: vmbus: Use uuid_le type consistently), we always get this warning: CC [M] drivers/input/serio/hyperv-keyboard.o drivers/input/serio/hyperv-keyboard.c:427:2: warning: missing braces around initializer [-Wmissing-braces] { HV_KBD_GUID, }, ^ drivers/input/serio/hyperv-keyboard.c:427:2: warning: (near initialization for .id_table[0].guid.b.) [-Wmissing-braces] The patch fixes the warning. Signed-off-by: Dexuan Cui <decui@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/hyperv.h')
-rw-r--r--include/linux/hyperv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index 179ff330af59..753dbad0bf94 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -1079,6 +1079,14 @@ u64 hv_do_hypercall(u64 control, void *input, void *output);
1079 0x8b, 0xa1, 0xa1, 0xf3, 0xf9, 0x5a) 1079 0x8b, 0xa1, 0xa1, 0xf3, 0xf9, 0x5a)
1080 1080
1081/* 1081/*
1082 * Keyboard GUID
1083 * {f912ad6d-2b17-48ea-bd65-f927a61c7684}
1084 */
1085#define HV_KBD_GUID \
1086 .guid = UUID_LE(0xf912ad6d, 0x2b17, 0x48ea, 0xbd, 0x65, \
1087 0xf9, 0x27, 0xa6, 0x1c, 0x76, 0x84)
1088
1089/*
1082 * VSS (Backup/Restore) GUID 1090 * VSS (Backup/Restore) GUID
1083 */ 1091 */
1084#define HV_VSS_GUID \ 1092#define HV_VSS_GUID \