pinctrl: Kconfig: Fix STMFX GPIO expander Pinctrl/GPIO driver dependencies
authorAmelie Delaunay <amelie.delaunay@st.com>
Fri, 10 May 2019 13:39:18 +0000 (15:39 +0200)
committerLee Jones <lee.jones@linaro.org>
Fri, 10 May 2019 15:09:56 +0000 (16:09 +0100)
commit9af2de7657f5a52f9e15aebb6f9348f9b8f250a6
tree145fcbe7ceaf52979796af130659c85740b1eacd
parent1490d9f841b186664f9d3ca213dcfa4464a60680
pinctrl: Kconfig: Fix STMFX GPIO expander Pinctrl/GPIO driver dependencies

module_i2c_driver and pinconf_generic_dt_node_to_map_pin are undeclared
if CONFIG_I2C and CONFIG_OF are not enabled.

Fixes: 1490d9f841b1 ("pinctrl: Add STMFX GPIO expander Pinctrl/GPIO driver")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/pinctrl/Kconfig