|
@@ -1887,7 +1887,7 @@ static struct platform_device i2c_bfin_twi1_device = {
|
|
};
|
|
};
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#if IS_ENABLED(CONFIG_GPIO_MCP23S08)
|
|
|
|
|
|
+#if IS_ENABLED(CONFIG_PINCTRL_MCP23S08)
|
|
#include <linux/spi/mcp23s08.h>
|
|
#include <linux/spi/mcp23s08.h>
|
|
static const struct mcp23s08_platform_data bfin_mcp23s08_soft_switch0 = {
|
|
static const struct mcp23s08_platform_data bfin_mcp23s08_soft_switch0 = {
|
|
.base = 120,
|
|
.base = 120,
|
|
@@ -1929,7 +1929,7 @@ static struct i2c_board_info __initdata bfin_i2c_board_info0[] = {
|
|
I2C_BOARD_INFO("ssm2602", 0x1b),
|
|
I2C_BOARD_INFO("ssm2602", 0x1b),
|
|
},
|
|
},
|
|
#endif
|
|
#endif
|
|
-#if IS_ENABLED(CONFIG_GPIO_MCP23S08)
|
|
|
|
|
|
+#if IS_ENABLED(CONFIG_PINCTRL_MCP23S08)
|
|
{
|
|
{
|
|
I2C_BOARD_INFO("mcp23017", 0x21),
|
|
I2C_BOARD_INFO("mcp23017", 0x21),
|
|
.platform_data = (void *)&bfin_mcp23s08_soft_switch0
|
|
.platform_data = (void *)&bfin_mcp23s08_soft_switch0
|