diff mbox series

Input: iqs269a - add missing I2C dependency

Message ID 1589809466-22748-1-git-send-email-jeff@labundy.com
State New
Headers show
Series Input: iqs269a - add missing I2C dependency | expand

Commit Message

Jeff LaBundy May 18, 2020, 1:44 p.m. UTC
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 <jeff@labundy.com>
Reported-by: kbuild test robot <lkp@intel.com>
Fixes: 04e49867fad1 ("Input: add support for Azoteq IQS269A")
---
 drivers/input/misc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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