i2c: mux: fix compiler warning
Subsystems (2)
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.
Signed-off-by Michele Curti <[email protected]>
--- drivers/i2c/muxes/i2c-mux-reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/muxes/i2c-mux-reg.c +1 -1
@@ -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
Quoted 4 lines · Michele Curti
Fix compiler warning when
CONFIG_OFis not defined by changing the 'mux' parameter type in thei2c_mux_reg_probestub.Signed-off-by Michele Curti <[email protected]>
Thanks, this is already in my for-next branch: