summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/asus-wmi.h
diff options
context:
space:
mode:
authorCorentin Chary <corentin.chary@gmail.com>2012-03-20 09:53:10 +0100
committerMatthew Garrett <mjg@redhat.com>2012-03-26 15:05:44 -0400
commit6a2bcccdb3206950d28e343476d9050e23e79b7e (patch)
tree2ee2cdd1b1290875b4ef18322d6d81ff16d1ccd1 /drivers/platform/x86/asus-wmi.h
parent6e0044bedc1fc94a61cc32fa25dcab9a4e4a9218 (diff)
asus-wmi: move WAPF variable into quirks_entry
Some models work better with different values of wapf, so move the variable into quriks_entry to make it more easy to give a specific value to different models. Based on original patch from AceLan Kao <acelan.kao@canonical.com> Cc: AceLan Kao <acelan.kao@canonical.com> Signed-off-by: Corentin Chary <corentin.chary@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/x86/asus-wmi.h')
-rw-r--r--drivers/platform/x86/asus-wmi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/asus-wmi.h b/drivers/platform/x86/asus-wmi.h
index 35003e4f1316..d43b66742004 100644
--- a/drivers/platform/x86/asus-wmi.h
+++ b/drivers/platform/x86/asus-wmi.h
@@ -39,10 +39,10 @@ struct quirk_entry {
bool hotplug_wireless;
bool scalar_panel_brightness;
bool store_backlight_power;
+ int wapf;
};
struct asus_wmi_driver {
- int wapf;
int brightness;
int panel_power;