diff mbox series

Input: iqs269a - add missing I2C dependency

Message ID 1589809466-22748-1-git-send-email-jeff@labundy.com (mailing list archive)
State Mainlined
Commit d0ac7079d5fcaaaf3eb99c197a08ac1b399754f4
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(+)

Comments

Dmitry Torokhov May 18, 2020, 6:32 p.m. UTC | #1
On Mon, May 18, 2020 at 08:44:26AM -0500, Jeff LaBundy wrote:
> 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")

Applied, thank you.
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