summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/asus-wmi.h
diff options
context:
space:
mode:
authorzino lin <linzino7@gmail.com>2016-08-28 11:12:06 +0300
committerDarren Hart <dvhart@linux.intel.com>2016-09-24 02:20:34 +0300
commit999d4376c62828b260fbb59d5ab6bc28918ca448 (patch)
treebc11cad7c2908dd6cfc6cd66d8829b745a67da28 /drivers/platform/x86/asus-wmi.h
parentfa1bc2a09f5f6c83eeb49686911565d9630ef054 (diff)
downloadlinux-999d4376c62828b260fbb59d5ab6bc28918ca448.tar.xz
platform/x86: asus-wmi: fix asus ux303ub brightness issue
acpi_video0 doesn't work, asus-wmi brightness interface doesn't work, too. So, we use native brightness interface to handle the brightness adjustion, and add quirk_asus_ux303ub. Signed-off-by: zino lin <linzino7@gmail.com> Acked-by: Corentin Chary <corentin.chary@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/asus-wmi.h')
-rw-r--r--drivers/platform/x86/asus-wmi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/asus-wmi.h b/drivers/platform/x86/asus-wmi.h
index 5de1df510ebd..5e220411056d 100644
--- a/drivers/platform/x86/asus-wmi.h
+++ b/drivers/platform/x86/asus-wmi.h
@@ -43,6 +43,7 @@ struct quirk_entry {
bool scalar_panel_brightness;
bool store_backlight_power;
bool wmi_backlight_power;
+ bool wmi_backlight_native;
int wapf;
/*
* For machines with AMD graphic chips, it will send out WMI event