aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2024-03-05 11:24:59 +0100
committerLinus Walleij <linus.walleij@linaro.org>2024-03-05 11:29:24 +0100
commitae391ffaded092684e264220536a0cf1d05af379 (patch)
treef14cdbd126d0c7dd3be07092288169a28190b159
parenta4f15a8d4c8253d44830731d99be869d273c0c82 (diff)
pinctrl: aw9523: Fix I2C=y dependencysent/fix-aw9523-v1
The AW9523 driver fails to build in some allmod configs since the I2C core can be a module, but AW9523 can not. Fix it up so we depend on I2C being compiled-in. Fixes: a4f15a8d4c82 ("pinctrl: Add driver for Awinic AW9523/B I2C GPIO Expander") Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202403050916.KBtE6eEj-lkp@intel.com/ Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--drivers/pinctrl/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 21d38bf2d1ca..a273a9b03122 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -129,7 +129,7 @@ config PINCTRL_AXP209
config PINCTRL_AW9523
bool "Awinic AW9523/AW9523B I2C GPIO expander pinctrl driver"
- depends on OF && I2C
+ depends on OF && I2C=y
select PINMUX
select PINCONF
select GENERIC_PINCONF