]> git.ipfire.org Git - thirdparty/linux.git/commit
pinctrl: aw9523: Make the driver tristate
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Mar 2024 11:00:03 +0000 (12:00 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 7 Mar 2024 22:09:01 +0000 (23:09 +0100)
commitd295ad7ef0137b292289dc214b27993ddffeae15
tree2363728ba3511fe8b769a18b3d61e2c712525282
parent64df5ea971956a9ff8796b55b9f4b85bb5f5435d
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: 576623d70661 ("pinctrl: Add driver for Awinic AW9523/B I2C GPIO Expander")
Reported-by: Arnd Bergmann <arnd@arndb.de>
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>
Link: https://lore.kernel.org/r/20240305-fix-aw9523-v2-1-2dc50bab2b17@linaro.org
drivers/pinctrl/Kconfig