platform/x86: asus-wmi: add SERIO_I8042 dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 12 Oct 2016 19:31:40 +0000 (21:31 +0200)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 12 Oct 2016 20:59:33 +0000 (22:59 +0200)
commitea893695ec1131a5fed0523ff8094bc6e8723bbe
treece18c74e1344b902c8ee276d8f75b3cab83eb617
parent40c30bbf3377babc4d6bb16b699184236a8bfa27
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: b5643539b825 ("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>
drivers/platform/x86/Kconfig