From d0ac7079d5fcaaaf3eb99c197a08ac1b399754f4 Mon Sep 17 00:00:00 2001 From: Jeff LaBundy Date: Mon, 18 May 2020 11:32:18 -0700 Subject: [PATCH] Input: iqs269a - add missing I2C dependency If CONFIG_INPUT_IQS269A is selected yet CONFIG_I2C is not, the build fails. To solve this problem, add I2C as a dependency. Signed-off-by: Jeff LaBundy Reported-by: kbuild test robot Fixes: 04e49867fad1 ("Input: add support for Azoteq IQS269A") Link: https://lore.kernel.org/r/1589809466-22748-1-git-send-email-jeff@labundy.com Signed-off-by: Dmitry Torokhov --- drivers/input/misc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig index 943cf69..362e8a0 100644 --- a/drivers/input/misc/Kconfig +++ b/drivers/input/misc/Kconfig @@ -720,6 +720,7 @@ config INPUT_IMS_PCU config INPUT_IQS269A tristate "Azoteq IQS269A capacitive touch controller" + depends on I2C select REGMAP_I2C help Say Y to enable support for the Azoteq IQS269A capacitive -- 2.7.4