diff options
author | Mike Rapoport <mike.rapoport@gmail.com> | 2015-09-02 11:03:41 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-09-03 11:56:23 +0200 |
commit | a05a34e7f6ff4a942186e99932885b10c6bc1d1a (patch) | |
tree | 43e43cf50f9fee5f4cdf8d0d2625c8361b061819 /block/cmdline-parser.c | |
parent | fce388afd633cdf20844e17f47b0d97c7ee06e69 (diff) | |
download | linux-a05a34e7f6ff4a942186e99932885b10c6bc1d1a.tar.bz2 |
i2c: mux: reg: fix compilation warnings
With CONFIG_OF=n, the following warnings occur when compiling
drivers/i2c/muxes/i2c-mux-reg.c:
CC drivers/i2c/muxes/i2c-mux-reg.o
drivers/i2c/muxes/i2c-mux-reg.c:170:13: warning: ‘struct gpiomux’ declared inside parameter list [enabled by default]
struct platform_device *pdev)
^
drivers/i2c/muxes/i2c-mux-reg.c:170:13: warning: its scope
is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/i2c/muxes/i2c-mux-reg.c: In function ‘i2c_mux_reg_probe’:
drivers/i2c/muxes/i2c-mux-reg.c:201:3: warning: passing argument 1 of ‘i2c_mux_reg_probe_dt’ from incompatible pointer type [enabled by default]
ret = i2c_mux_reg_probe_dt(mux, pdev);
^
Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'block/cmdline-parser.c')
0 files changed, 0 insertions, 0 deletions