aboutsummarylogtreecommitdiffstats
path: root/sys-kernel_arch-sources-g14_files-0048-asus-nb-wmi-fix-tablet_mode_sw_int.patch
blob: 6327dc76407fe6dae242c08baaaa28e6ec55c04d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
index f24e002ca703..f85fec0e1b76 100644
--- a/drivers/platform/x86/asus-nb-wmi.c
+++ b/drivers/platform/x86/asus-nb-wmi.c
@@ -42,7 +42,7 @@ module_param(wapf, uint, 0444);
 MODULE_PARM_DESC(wapf, "WAPF value");
 
 static int tablet_mode_sw = -1;
-module_param(tablet_mode_sw, uint, 0444);
+module_param(tablet_mode_sw, int, 0444);
 MODULE_PARM_DESC(tablet_mode_sw, "Tablet mode detect: -1:auto 0:disable 1:kbd-dock 2:lid-flip");
 
 static struct quirk_entry *quirks;