Commit fb05b9f53fa9131ae86eb8cc4fda20e943a86e36

Authored by Corentin Chary
Committed by Matthew Garrett
1 parent 6a2bcccdb3

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>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

drivers/platform/x86/asus-nb-wmi.c
... ... @@ -25,6 +25,7 @@
25 25 #include <linux/init.h>
26 26 #include <linux/input.h>
27 27 #include <linux/input/sparse-keymap.h>
  28 +#include <linux/fb.h>
28 29  
29 30 #include "asus-wmi.h"
30 31  
... ... @@ -58,6 +59,7 @@
58 59 {
59 60 driver->quirks = &quirk_asus_unknown;
60 61 driver->quirks->wapf = wapf;
  62 + driver->panel_power = FB_BLANK_UNBLANK;
61 63 }
62 64  
63 65 static const struct key_entry asus_nb_wmi_keymap[] = {