aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-02-02 09:25:57 -0500
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-02-13 17:39:48 -0500
commitbe2eba5810db19a3f752430cd1b03e9457c2959c (patch)
treeceef344b0778a359b8e6489f9cafe064476ca699
parentcef9dd85acd79449d1a5a65543d10f18cb68e56c (diff)
platform/x86: silead depends on I2C being built-in
The new driver cannot be a loadable module, so if I2C is loadable, we get this link error: drivers/platform/built-in.o: In function `silead_ts_dmi_init': silead_dmi.c:(.init.text+0x2ef): undefined reference to `i2c_bus_type' This makes the Kconfig dependency stricter to require I2C=y. Fixes: 9eeda3897a85 ("platform/x86: add support for devices with Silead touchscreens") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
-rw-r--r--drivers/platform/x86/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index cfa842daa270..d6fbfc0fd2de 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -1086,7 +1086,7 @@ config INTEL_TURBO_MAX_3
1086 1086
1087config SILEAD_DMI 1087config SILEAD_DMI
1088 bool "Tablets with Silead touchscreens" 1088 bool "Tablets with Silead touchscreens"
1089 depends on ACPI && DMI && I2C && INPUT 1089 depends on ACPI && DMI && I2C=y && INPUT
1090 ---help--- 1090 ---help---
1091 Certain ACPI based tablets with Silead touchscreens do not have 1091 Certain ACPI based tablets with Silead touchscreens do not have
1092 enough data in ACPI tables for the touchscreen driver to handle 1092 enough data in ACPI tables for the touchscreen driver to handle