Commit d295ad7e authored by Linus Walleij's avatar Linus Walleij

pinctrl: aw9523: Make the driver tristate

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 by allowing
AW9523 to be a module (tristate).

Fixes: 576623d7 ("pinctrl: Add driver for Awinic AW9523/B I2C GPIO Expander")
Reported-by: default avatarArnd Bergmann <arnd@arndb.de>
Reported-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202403050916.KBtE6eEj-lkp@intel.com/Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240305-fix-aw9523-v2-1-2dc50bab2b17@linaro.org
parent 64df5ea9
......@@ -128,7 +128,7 @@ config PINCTRL_AXP209
Say Y to enable pinctrl and GPIO support for the AXP209 PMIC.
config PINCTRL_AW9523
bool "Awinic AW9523/AW9523B I2C GPIO expander pinctrl driver"
tristate "Awinic AW9523/AW9523B I2C GPIO expander pinctrl driver"
depends on OF && I2C
select PINMUX
select PINCONF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment