platform/x86: msi-laptop depends on SERIO_I8042
authorRandy Dunlap <randy.dunlap@oracle.com>
Sun, 23 May 2010 23:33:17 +0000 (16:33 -0700)
committerMatthew Garrett <mjg@redhat.com>
Tue, 3 Aug 2010 13:48:44 +0000 (09:48 -0400)
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>
drivers/platform/x86/Kconfig

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