Input: iqs269a - add missing I2C dependency
authorJeff LaBundy <jeff@labundy.com>
Mon, 18 May 2020 18:32:18 +0000 (11:32 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 18 May 2020 18:34:00 +0000 (11:34 -0700)
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")
Link: https://lore.kernel.org/r/1589809466-22748-1-git-send-email-jeff@labundy.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/Kconfig

index 943cf69b5b733f466a0aa412fc0331cf0d59b455..362e8a01980cdafe1f1f317ccb8495b4f3111929 100644 (file)
@@ -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