diff options
author | Corentin Chary <corentin.chary@gmail.com> | 2012-03-20 09:53:10 +0100 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2012-03-26 15:05:44 -0400 |
commit | 6a2bcccdb3206950d28e343476d9050e23e79b7e (patch) | |
tree | 2ee2cdd1b1290875b4ef18322d6d81ff16d1ccd1 /drivers/platform/x86/eeepc-wmi.c | |
parent | 6e0044bedc1fc94a61cc32fa25dcab9a4e4a9218 (diff) | |
download | op-kernel-dev-6a2bcccdb3206950d28e343476d9050e23e79b7e.zip op-kernel-dev-6a2bcccdb3206950d28e343476d9050e23e79b7e.tar.gz |
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/eeepc-wmi.c')
-rw-r--r-- | drivers/platform/x86/eeepc-wmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index 9f8ccf9..389ff88 100644 --- a/drivers/platform/x86/eeepc-wmi.c +++ b/drivers/platform/x86/eeepc-wmi.c @@ -209,10 +209,10 @@ static int eeepc_wmi_probe(struct platform_device *pdev) static void eeepc_wmi_quirks(struct asus_wmi_driver *driver) { - driver->wapf = -1; driver->panel_power = FB_BLANK_UNBLANK; driver->quirks = &quirk_asus_unknown; driver->quirks->hotplug_wireless = hotplug_wireless; + driver->quirks->wapf = -1; dmi_check_system(asus_quirks); driver->quirks = quirks; } |