diff options
author | Corentin Chary <corentin.chary@gmail.com> | 2012-03-20 12:53:10 +0400 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2012-03-26 23:05:44 +0400 |
commit | 6a2bcccdb3206950d28e343476d9050e23e79b7e (patch) | |
tree | 2ee2cdd1b1290875b4ef18322d6d81ff16d1ccd1 /drivers/platform/x86/asus-wmi.h | |
parent | 6e0044bedc1fc94a61cc32fa25dcab9a4e4a9218 (diff) | |
download | linux-6a2bcccdb3206950d28e343476d9050e23e79b7e.tar.xz |
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.h | 2 |
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; |