[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1441476310-11162-1-git-send-email-michele.curti@gmail.com>
Date: Sat, 5 Sep 2015 20:05:10 +0200
From: Michele Curti <michele.curti@...il.com>
To: wsa@...-dreams.de
Cc: yorksun@...escale.com, alexander.sverdlin@...ia.com,
linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org,
Michele Curti <michele.curti@...il.com>
Subject: [PATCH] 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 <michele.curti@...il.com>
---
drivers/i2c/muxes/i2c-mux-reg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/muxes/i2c-mux-reg.c b/drivers/i2c/muxes/i2c-mux-reg.c
index 86d41d36..cff1519 100644
--- a/drivers/i2c/muxes/i2c-mux-reg.c
+++ b/drivers/i2c/muxes/i2c-mux-reg.c
@@ -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;
--
2.5.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists