aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorCorentin Chary <corentin.chary@gmail.com>2012-03-20 04:53:11 -0400
committerMatthew Garrett <mjg@redhat.com>2012-03-26 15:05:46 -0400
commitfb05b9f53fa9131ae86eb8cc4fda20e943a86e36 (patch)
tree3578c34b77ca41fecef7c1bcab09241a8219bae2 /drivers/platform
parent6a2bcccdb3206950d28e343476d9050e23e79b7e (diff)
asus-nb-wmi: set panel_power correctly
Even if it's currently unused. Signed-off-by: Corentin Chary <corentin.chary@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/asus-nb-wmi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
index b12038c492c7..99a30b513137 100644
--- a/drivers/platform/x86/asus-nb-wmi.c
+++ b/drivers/platform/x86/asus-nb-wmi.c
@@ -25,6 +25,7 @@
25#include <linux/init.h> 25#include <linux/init.h>
26#include <linux/input.h> 26#include <linux/input.h>
27#include <linux/input/sparse-keymap.h> 27#include <linux/input/sparse-keymap.h>
28#include <linux/fb.h>
28 29
29#include "asus-wmi.h" 30#include "asus-wmi.h"
30 31
@@ -58,6 +59,7 @@ static void asus_nb_wmi_quirks(struct asus_wmi_driver *driver)
58{ 59{
59 driver->quirks = &quirk_asus_unknown; 60 driver->quirks = &quirk_asus_unknown;
60 driver->quirks->wapf = wapf; 61 driver->quirks->wapf = wapf;
62 driver->panel_power = FB_BLANK_UNBLANK;
61} 63}
62 64
63static const struct key_entry asus_nb_wmi_keymap[] = { 65static const struct key_entry asus_nb_wmi_keymap[] = {