linux/arch/sh/kernel/cpu
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
..
irq Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
sh2 sh: sh2: Change the specification method of IRQ to SCIx_IRQ_MUXED 2012-04-17 16:17:33 +09:00
sh2a sh: Fix up comment noise in sh7269 pinmux code. 2012-05-10 17:23:58 +09:00
sh3 sh: Fix up se7721 GPIOLIB=y build warnings. 2012-07-02 15:06:22 +09:00
sh4 Merge branch 'sh/evt2irq-migration' into sh-latest 2012-05-18 18:13:27 +09:00
sh4a sh: Convert sh_clk_mstp32_register to sh_clk_mstp_register 2012-06-28 16:45:34 +09:00
sh5 sh: use the new generic strnlen_user() function 2012-06-13 10:28:37 +09:00
shmobile SuperH updates for 3.4-rc1 2012-04-07 09:52:46 -07:00
Makefile sh: hwblk: Kill off remaining bits of hwblk API. 2011-11-18 16:26:00 +09:00
adc.c sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
clock-cpg.c sh: move CLKDEV_xxx_ID macro to sh_clk.h 2011-07-11 15:07:25 +09:00
clock.c ARM: 6483/1: arm & sh: factorised duplicated clkdev.c 2010-11-26 10:51:04 +00:00
fpu.c sh: fix up fallout from system.h disintegration. 2012-03-30 19:29:57 +09:00
init.c Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
proc.c Merge branches 'sh/wdt' and 'sh/rsk-updates' into sh-latest 2012-05-10 17:20:56 +09:00