diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-06-10 10:49:36 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-06-21 09:24:39 +0200 |
commit | 9f4ca14e162f067b6839b87076bdabba49ce04c4 (patch) | |
tree | 1998c01dba21f6ee37eec0541faa3235605053f8 /drivers/pinctrl/sh-pfc/pfc-r8a7778.c | |
parent | pinctrl: sh-pfc: fix property name in bindings doc (diff) | |
download | linux-9f4ca14e162f067b6839b87076bdabba49ce04c4.tar.xz linux-9f4ca14e162f067b6839b87076bdabba49ce04c4.zip |
pinctrl: sh-pfc: Move SoC-specific forward declarations to sh_pfc.h
With C=1:
drivers/pinctrl/sh-pfc/pfc-emev2.c:1695:30: warning: symbol 'emev2_pinmux_info' was not declared. Should it be static?
drivers/pinctrl/sh-pfc/pfc-r8a7779.c:3888:30: warning: symbol 'r8a7779_pinmux_info' was not declared. Should it be static?
Note that there are more warnings on SH.
The sh_pfc_soc_info structure is defined in sh_pfc.h, while all forward
declarations for the SoC-specific versions are in core.h.
Move the forward declarations from core.h to sh_pfc.h to fix this.
Reported-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sh-pfc/pfc-r8a7778.c')
0 files changed, 0 insertions, 0 deletions