gpio: mcp23s08: Select REGMAP/REGMAP_I2C to fix build error
PATCH 1/1 gpio: mcp23s08: Select REGMAP/REGMAP_I2C to fix build error
This driver now using devm_regmap_init/devm_regmap_init_i2c, so it needs to select REGMAP/REGMAP_I2C accordingly.
Fixes ("3d84fdb3f0b5 gpio: mcp23s08: use regmap")
Signed-off-by Axel Lin <[email protected]>
--- drivers/gpio/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpio/Kconfig +2 -0
@@ -1213,6 +1213,8 @@ config GPIO_MCP23S08 tristate "Microchip MCP23xxx I/O expander" depends on OF_GPIO select GPIOLIB_IRQCHIP + select REGMAP_I2C if I2C + select REGMAP if SPI_MASTER help SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017 I/O expanders.
Signature · 1 line
2.9.3
Hi,
Quoted 14 lines · Axel Lin
This driver now using devm_regmap_init/devm_regmap_init_i2c, so it needs to select REGMAP/REGMAP_I2C accordingly.
Fixes ("3d84fdb3f0b5 gpio: mcp23s08: use regmap")Signed-off-by Axel Lin <[email protected]>--- drivers/gpio/Kconfig | 2 ++ 1 file changed, 2 insertions(+)drivers/gpio/Kconfig +0
-0
drivers/gpio/Kconfig config GPIO_MCP23S08 · line 1220
Quoted 8 lines
drivers/gpio/Kconfig +2
-0@@ -1213,6 +1213,8 @@ config GPIO_MCP23S08 tristate "Microchip MCP23xxx I/O expander" depends on OF_GPIO select GPIOLIB_IRQCHIP + select REGMAP_I2C if I2C + select REGMAP if SPI_MASTER help SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017 I/O expanders.
-- Sebastian
Quoted 5 lines · Axel Lin
This driver now using devm_regmap_init/devm_regmap_init_i2c, so it needs to select REGMAP/REGMAP_I2C accordingly.
Fixes ("3d84fdb3f0b5 gpio: mcp23s08: use regmap")Signed-off-by Axel Lin <[email protected]>
Patch applied with Sebastian's ACK.
Yours,
Linus Walleij