Skip to contentSkip to conversation

i2c: mux: fix compiler warning

PATCH In review Michele Curti 2 participants 2 messages Sep 5, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: mux: fix compiler warning

Fix compiler warning when CONFIG_OF is not defined by changing the 'mux' parameter type in the i2c_mux_reg_probe stub.

---
 drivers/i2c/muxes/i2c-mux-reg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/muxes/i2c-mux-reg.c +1 -1
index 86d41d36..cff1519 100644
@@ -166,7 +166,7 @@ static int i2c_mux_reg_probe_dt(struct regmux *mux,
 	return 0;
 }
 #else
-static int i2c_mux_reg_probe_dt(struct gpiomux *mux,
+static int i2c_mux_reg_probe_dt(struct regmux *mux,
 					struct platform_device *pdev)
 {
 	return 0;
Signature · 1 line
2.5.1