summarylogtreecommitdiffstats
path: root/sys-kernel_arch-sources-g14_files-0048-asus-nb-wmi-fix-tablet_mode_sw_int.patch
blob: caafcce952e33548f414bbad00a757145694b357 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
--- 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 3:lid-flip-rog");
 
 static struct quirk_entry *quirks;