浏览代码

platform/x86: msi-laptop depends on SERIO_I8042

msi-laptop uses i8042_*() interfaces, so it should depend on
SERIO_I8042.  E.g., when SERIO_I8042=m and MSI_LAPTOP=y:

msi-laptop.c:(.text+0x18a7fe): undefined reference to `i8042_install_filter'
msi-laptop.c:(.init.text+0xd69d): undefined reference to `i8042_remove_filter'
msi-laptop.c:(.exit.text+0x19c3): undefined reference to `i8042_remove_filter'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Cc: Lennart Poettering <mzxreary@0pointer.de>
Randy Dunlap 15 年之前
父节点
当前提交
81f61484f1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/platform/x86/Kconfig

+ 1 - 0
drivers/platform/x86/Kconfig

@@ -151,6 +151,7 @@ config MSI_LAPTOP
 	depends on ACPI
 	depends on ACPI
 	depends on BACKLIGHT_CLASS_DEVICE
 	depends on BACKLIGHT_CLASS_DEVICE
 	depends on RFKILL
 	depends on RFKILL
+	depends on SERIO_I8042
 	---help---
 	---help---
 	  This is a driver for laptops built by MSI (MICRO-STAR
 	  This is a driver for laptops built by MSI (MICRO-STAR
 	  INTERNATIONAL):
 	  INTERNATIONAL):