drivers, samsung-laptop: fix initialization of sabi_data in sabi_set_commandb
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / platform / x86 / samsung-laptop.c
index 7d7109f..b7c67c8 100644 (file)
@@ -430,7 +430,7 @@ exit:
 static int sabi_set_commandb(struct samsung_laptop *samsung,
                             u16 command, u8 data)
 {
-       struct sabi_data in = { .d0 = 0, .d1 = 0, .d2 = 0, .d3 = 0 };
+       struct sabi_data in = { { { .d0 = 0, .d1 = 0, .d2 = 0, .d3 = 0 } } };
 
        in.data[0] = data;
        return sabi_command(samsung, command, &in, NULL);