diff options
author | David Rientjes <rientjes@google.com> | 2012-03-20 09:53:05 +0100 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2012-03-26 21:05:36 +0200 |
commit | 8522944085ffd83af129ffce06e3a9f34635391c (patch) | |
tree | 21259b6fa4d80c6939f52dd330673db74b0e1b94 /firmware/keyspan/usa19qi.HEX | |
parent | asus-wmi: on/off bit is not set when reading the value (diff) | |
download | linux-8522944085ffd83af129ffce06e3a9f34635391c.tar.xz linux-8522944085ffd83af129ffce06e3a9f34635391c.zip |
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.<anonymous>’)
...
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'firmware/keyspan/usa19qi.HEX')
0 files changed, 0 insertions, 0 deletions