OpenCloudOS-Kernel/arch/sh/kernel/cpu/sh3
Paul Mundt 64941d8930 sh: Fix up se7721 GPIOLIB=y build warnings.
Presently the SH7720/21 serial code uses asm/gpio.h to get at the CPU
GPIO port definitions, but in the case of GPIOLIB=y this also includes
references to generic GPIOLIB routines that we don't have any function
declarations for, tripping up on -Werror=implicit-function-declaration
with newer gcc versions:

  CC      arch/sh/kernel/cpu/sh3/serial-sh7720.o
In file included from include/linux/sh_pfc.h:14:0,
                 from arch/sh/include/asm/gpio.h:23,
                 from arch/sh/kernel/cpu/sh3/serial-sh7720.c:5:
include/asm-generic/gpio.h: In function 'gpio_get_value_cansleep':
include/asm-generic/gpio.h:220:2: error: implicit declaration of function '__gpio_get_value' [-Werror=implicit-function-declaration]
include/asm-generic/gpio.h: In function 'gpio_set_value_cansleep':
include/asm-generic/gpio.h:226:2: error: implicit declaration of function '__gpio_set_value' [-Werror=implicit-function-declaration]
In file included from arch/sh/include/asm/gpio.h:23:0,
                 from arch/sh/kernel/cpu/sh3/serial-sh7720.c:5:
include/linux/sh_pfc.h: At top level:
include/linux/sh_pfc.h:121:19: error: field 'chip' has incomplete type

Switch to using the cpu/ version for the port definitions explicitly.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2012-07-02 15:06:22 +09:00
..
Makefile serial: sh-sci: Abstract register maps. 2011-06-14 12:40:19 +09:00
clock-sh3.c sh: sh3 sh_clk_ops rename 2012-03-12 22:19:11 +01:00
clock-sh7705.c sh: sh3 sh_clk_ops rename 2012-03-12 22:19:11 +01:00
clock-sh7706.c sh: sh3 sh_clk_ops rename 2012-03-12 22:19:11 +01:00
clock-sh7709.c sh: sh3 sh_clk_ops rename 2012-03-12 22:19:11 +01:00
clock-sh7710.c sh: sh3 sh_clk_ops rename 2012-03-12 22:19:11 +01:00
clock-sh7712.c sh: sh3 sh_clk_ops rename 2012-03-12 22:19:11 +01:00
entry.S sh: Support thread fault code encoding. 2012-05-14 14:57:28 +09:00
ex.S sh: hw-breakpoints: Add preliminary support for SH-4A UBC. 2009-12-08 15:02:27 +09:00
pinmux-sh7720.c sh: Move the CPU definition headers from asm/ to cpu/. 2008-10-20 12:04:53 +09:00
probe.c sh: Tidy CPU probing and fixup section annotations. 2010-04-21 12:01:06 +09:00
serial-sh770x.c serial: sh-sci: Abstract register maps. 2011-06-14 12:40:19 +09:00
serial-sh7710.c serial: sh-sci: Abstract register maps. 2011-06-14 12:40:19 +09:00
serial-sh7720.c sh: Fix up se7721 GPIOLIB=y build warnings. 2012-07-02 15:06:22 +09:00
setup-sh3.c sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
setup-sh770x.c sh: sh7706/sh7707/sh7709/sh7709 evt2irq migration. 2012-05-18 14:34:48 +09:00
setup-sh7705.c sh: sh7705 evt2irq migration. 2012-05-18 14:31:11 +09:00
setup-sh7710.c sh: sh7710/sh7712 evt2irq migration. 2012-05-18 14:37:51 +09:00
setup-sh7720.c sh: sh7720 evt2irq migration. 2012-05-18 14:41:00 +09:00
swsusp.S sh: hibernation support 2009-03-10 12:55:40 +09:00