ARM: shmobile: move custom gpio functions to sh-gpio.h
authorRob Herring <rob.herring@calxeda.com>
Tue, 28 Aug 2012 17:54:42 +0000 (12:54 -0500)
committerRob Herring <rob.herring@calxeda.com>
Fri, 14 Sep 2012 14:21:58 +0000 (09:21 -0500)
commit6679185909e79df85bd44fd964f80f36899d0880
tree7cf6de310303227c7a1ec060fe4af60df0707746
parent74595e1764e271911c73e8ab816e0be269420134
ARM: shmobile: move custom gpio functions to sh-gpio.h

Move custom shmobile gpio code to a sh-gpio.h to remove the dependency
on mach/gpio.h. shmobile always uses gpiolib, so we can remove
__GPIOLIB_COMPLEX define from mach/gpio.h.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Magnus Damm <magnus.damm@gmail.com>
13 files changed:
arch/arm/mach-shmobile/board-ap4evb.c
arch/arm/mach-shmobile/board-armadillo800eva.c
arch/arm/mach-shmobile/board-g4evm.c
arch/arm/mach-shmobile/board-mackerel.c
arch/arm/mach-shmobile/include/mach/gpio.h
arch/arm/mach-shmobile/pfc-r8a7740.c
arch/arm/mach-shmobile/pfc-r8a7779.c
arch/arm/mach-shmobile/pfc-sh7367.c
arch/arm/mach-shmobile/pfc-sh7372.c
arch/arm/mach-shmobile/pfc-sh7377.c
arch/arm/mach-shmobile/pfc-sh73a0.c
arch/arm/mach-shmobile/sh-gpio.h [new file with mode: 0644]
drivers/sh/pfc/gpio.c