diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-06-10 08:49:36 (GMT) |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-06-21 07:24:39 (GMT) |
commit | 9f4ca14e162f067b6839b87076bdabba49ce04c4 (patch) | |
tree | 1998c01dba21f6ee37eec0541faa3235605053f8 /drivers/pinctrl/sh-pfc/pfc-sh7785.c | |
parent | 7075b30d04fa2df370ba5f904cd5c41271f45131 (diff) | |
download | linux-9f4ca14e162f067b6839b87076bdabba49ce04c4.tar.xz |
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-sh7785.c')
0 files changed, 0 insertions, 0 deletions