提交 be2eba58 编写于 作者: A Arnd Bergmann 提交者: Andy Shevchenko

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: NArnd Bergmann <arnd@arndb.de>
Acked-by: NHans de Goede <hdegoede@redhat.com>
Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
上级 cef9dd85
...@@ -1086,7 +1086,7 @@ config INTEL_TURBO_MAX_3 ...@@ -1086,7 +1086,7 @@ config INTEL_TURBO_MAX_3
config SILEAD_DMI config SILEAD_DMI
bool "Tablets with Silead touchscreens" bool "Tablets with Silead touchscreens"
depends on ACPI && DMI && I2C && INPUT depends on ACPI && DMI && I2C=y && INPUT
---help--- ---help---
Certain ACPI based tablets with Silead touchscreens do not have Certain ACPI based tablets with Silead touchscreens do not have
enough data in ACPI tables for the touchscreen driver to handle enough data in ACPI tables for the touchscreen driver to handle
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册