Skip to content

Commit ea89369

Browse files
arndbdvhart
authored andcommitted
platform/x86: asus-wmi: add SERIO_I8042 dependency
A recent bugfix added a call to i8042_install_filter but did not add the dependency, leading to possible link errors: drivers/platform/built-in.o: In function `asus_nb_wmi_quirks': asus-nb-wmi.c:(.text+0x23af): undefined reference to `i8042_install_filter' This adds a dependency on SERIO_I8042||SERIO_I8042=n to indicate that we can build the driver when the i8042 driver is disabled, but it cannot be built-in when that is a loadable module. Fixes: b564353 ("platform/x86: asus-wmi: Filter buggy scan codes on ASUS Q500A") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
1 parent 40c30bb commit ea89369

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/platform/x86/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ config ASUS_WMI
576576
config ASUS_NB_WMI
577577
tristate "Asus Notebook WMI Driver"
578578
depends on ASUS_WMI
579+
depends on SERIO_I8042 || SERIO_I8042 = n
579580
---help---
580581
This is a driver for newer Asus notebooks. It adds extra features
581582
like wireless radio and bluetooth control, leds, hotkeys, backlight...

0 commit comments

Comments
 (0)