]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
toshiba_acpi: Add dependency on SERIO_I8042
authorSeth Forshee <seth.forshee@canonical.com>
Wed, 3 Jul 2013 13:14:16 +0000 (08:14 -0500)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 10 Jul 2013 19:42:50 +0000 (15:42 -0400)
commit283672e425b24fe4046535973460e8732f4bd485
tree186eef92d0b9fad98290179d82640513df64d2c9
parent144a19ac94526c4609fa8b8264e6f9c3d48f7a55
toshiba_acpi: Add dependency on SERIO_I8042

Configuring this option as a module with ACPI_TOSHIBA built-in
results in the following errors:

   drivers/built-in.o: In function `toshiba_acpi_remove':
>> toshiba_acpi.c:(.text+0x314bb0): undefined reference to `i8042_remove_filter'
   drivers/built-in.o: In function `toshiba_acpi_add':
>> toshiba_acpi.c:(.devinit.text+0xb822): undefined reference to `i8042_install_filter'
>> toshiba_acpi.c:(.devinit.text+0xb98b): undefined reference to `i8042_remove_filter'

Add a dependency to prevent ACPI_TOSHIBA from being built-in when
SERIO_I8042=m.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/Kconfig