From: David Rientjes Date: Tue, 20 Mar 2012 08:53:05 +0000 (+0100) Subject: drivers, samsung-laptop: fix initialization of sabi_data in sabi_set_commandb X-Git-Tag: v3.4-rc1~63^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8522944085ffd83af129ffce06e3a9f34635391c;p=pandora-kernel.git drivers, samsung-laptop: fix initialization of sabi_data in sabi_set_commandb Fields d0, d1, d2, and d3 are members of an anonymous struct inside an anonymous union inside struct sabi_data. Initialization must be done by wrapping the anonymous union and structs with brackets to avoid a build error: drivers/platform/x86/samsung-laptop.c: In function ‘sabi_set_commandb’: drivers/platform/x86/samsung-laptop.c:433: error: unknown field ‘d0’ specified in initializer drivers/platform/x86/samsung-laptop.c:433: warning: missing braces around initializer drivers/platform/x86/samsung-laptop.c:433: warning: (near initialization for ‘in.’) ... Signed-off-by: David Rientjes Signed-off-by: Corentin Chary Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed