未验证 提交 485aa74a 编写于 作者: A Arnd Bergmann 提交者: Benson Leung

platform: chrome: Add input dependency for tablet switch driver

Without CONFIG_INPUT, or with a modular input layer and built-in
tablet driver, we get a link error:

ERROR: "input_event" [drivers/platform/chrome/chromeos_tbmc.ko] undefined!
ERROR: "input_register_device" [drivers/platform/chrome/chromeos_tbmc.ko] undefined!
ERROR: "input_set_capability" [drivers/platform/chrome/chromeos_tbmc.ko] undefined!
ERROR: "devm_input_allocate_device" [drivers/platform/chrome/chromeos_tbmc.ko] undefined!

This adds the corresponding Kconfig dependency

Fixes: b418f741 ("platform: chrome: Add Tablet Switch ACPI driver")
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NBenson Leung <bleung@chromium.org>
上级 4574d1d6
......@@ -41,6 +41,7 @@ config CHROMEOS_PSTORE
config CHROMEOS_TBMC
tristate "ChromeOS Tablet Switch Controller"
depends on ACPI
depends on INPUT
help
This option adds a driver for the tablet switch on
select Chrome OS systems.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册