* [PATCH] i2c: mux: fix compiler warning
@ 2015-09-05 18:05 Michele Curti
[not found] ` <1441476310-11162-1-git-send-email-michele.curti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Michele Curti @ 2015-09-05 18:05 UTC (permalink / raw)
To: wsa-z923LK4zBo2bacvFa/9K2g
Cc: yorksun-KZfg59tc24xl57MIdRCFDg,
alexander.sverdlin-xNZwKgViW5gAvxtiuMwx3w,
linux-i2c-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Michele Curti
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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] i2c: mux: fix compiler warning
[not found] ` <1441476310-11162-1-git-send-email-michele.curti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2015-09-05 18:13 ` Wolfram Sang
0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2015-09-05 18:13 UTC (permalink / raw)
To: Michele Curti
Cc: yorksun-KZfg59tc24xl57MIdRCFDg,
alexander.sverdlin-xNZwKgViW5gAvxtiuMwx3w,
linux-i2c-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 462 bytes --]
On Sat, Sep 05, 2015 at 08:05:10PM +0200, Michele Curti wrote:
> 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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Thanks, this is already in my for-next branch:
https://git.kernel.org/cgit/linux/kernel/git/wsa/linux.git/commit/?h=i2c/for-next&id=a05a34e7f6ff4a942186e99932885b10c6bc1d1a
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-05 18:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-05 18:05 [PATCH] i2c: mux: fix compiler warning Michele Curti
[not found] ` <1441476310-11162-1-git-send-email-michele.curti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-09-05 18:13 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).