Skip to contentSkip to conversation

toshiba_acpi: Add dependency on SERIO_I8042

PATCH New Seth Forshee 1 participant 1 message Jul 3, 2013 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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':

Quoted 1 line
Quoted 1 line

toshiba_acpi.c:(.text+0x314bb0): undefined reference to `i8042_remove_filter'

drivers/built-in.o: In function `toshiba_acpi_add':

Quoted 2 lines
Quoted 2 lines

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.

---
 drivers/platform/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/Kconfig +1 -0
index 8577261..5b3490f 100644
@@ -591,6 +591,7 @@ config ACPI_TOSHIBA
 	depends on BACKLIGHT_CLASS_DEVICE
 	depends on INPUT
 	depends on RFKILL || RFKILL = n
+	depends on SERIO_I8042 || SERIO_I8042 = n
 	select INPUT_POLLDEV
 	select INPUT_SPARSEKMAP
 	---help---
Signature · 1 line
1.8.1.2