aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorentin Chary <corentincj@iksaif.net>2011-07-01 05:34:30 -0400
committerMatthew Garrett <mjg@redhat.com>2011-08-05 14:45:52 -0400
commit57d5c8e742dbb8cdc794d9e0fee769c9533072af (patch)
tree6e782cf6a96c22bb58ff14f95f0877f6185b831b
parent39bbde059973d3337ae5f2fae5097d52599415e4 (diff)
asus-wmi: second part of the version starts at 16 not 8
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
-rw-r--r--drivers/platform/x86/asus-wmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c
index 0fce7de77b1c..fa2b395145a6 100644
--- a/drivers/platform/x86/asus-wmi.c
+++ b/drivers/platform/x86/asus-wmi.c
@@ -1246,7 +1246,7 @@ static int asus_wmi_platform_init(struct asus_wmi *asus)
1246 1246
1247 /* We don't know yet what to do with this version... */ 1247 /* We don't know yet what to do with this version... */
1248 if (!asus_wmi_evaluate_method(ASUS_WMI_METHODID_SPEC, 0, 0x9, &rv)) { 1248 if (!asus_wmi_evaluate_method(ASUS_WMI_METHODID_SPEC, 0, 0x9, &rv)) {
1249 pr_info("BIOS WMI version: %d.%d", rv >> 8, rv & 0xFF); 1249 pr_info("BIOS WMI version: %d.%d", rv >> 16, rv & 0xFF);
1250 asus->spec = rv; 1250 asus->spec = rv;
1251 } 1251 }
1252 1252