diff options
| author | Dexuan Cui <decui@microsoft.com> | 2015-12-21 15:21:22 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-21 16:07:56 -0500 |
| commit | 2048157ad02e65f6327118dd4a7b9c9f1fd12f77 (patch) | |
| tree | bae7c1f26bd773ff5d71b47dd5759791f1a3bd75 /drivers/input/serio | |
| parent | 940b68e2c3e4ebf032885203c3970e9649f814af (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 'drivers/input/serio')
| -rw-r--r-- | drivers/input/serio/hyperv-keyboard.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/input/serio/hyperv-keyboard.c b/drivers/input/serio/hyperv-keyboard.c index e74e5d6e5f9f..c948866edf87 100644 --- a/drivers/input/serio/hyperv-keyboard.c +++ b/drivers/input/serio/hyperv-keyboard.c | |||
| @@ -412,16 +412,6 @@ static int hv_kbd_remove(struct hv_device *hv_dev) | |||
| 412 | return 0; | 412 | return 0; |
| 413 | } | 413 | } |
| 414 | 414 | ||
| 415 | /* | ||
| 416 | * Keyboard GUID | ||
| 417 | * {f912ad6d-2b17-48ea-bd65-f927a61c7684} | ||
| 418 | */ | ||
| 419 | #define HV_KBD_GUID \ | ||
| 420 | .guid = { \ | ||
| 421 | 0x6d, 0xad, 0x12, 0xf9, 0x17, 0x2b, 0xea, 0x48, \ | ||
| 422 | 0xbd, 0x65, 0xf9, 0x27, 0xa6, 0x1c, 0x76, 0x84 \ | ||
| 423 | } | ||
| 424 | |||
| 425 | static const struct hv_vmbus_device_id id_table[] = { | 415 | static const struct hv_vmbus_device_id id_table[] = { |
| 426 | /* Keyboard guid */ | 416 | /* Keyboard guid */ |
| 427 | { HV_KBD_GUID, }, | 417 | { HV_KBD_GUID, }, |
