diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-08-28 12:54:42 -0500 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-09-14 09:21:58 -0500 |
commit | 6679185909e79df85bd44fd964f80f36899d0880 (patch) | |
tree | 7cf6de310303227c7a1ec060fe4af60df0707746 /arch/arm/mach-shmobile/board-ap4evb.c | |
parent | 74595e1764e271911c73e8ab816e0be269420134 (diff) |
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>
Diffstat (limited to 'arch/arm/mach-shmobile/board-ap4evb.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-ap4evb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index f172ca85905c..c7f164e20661 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c @@ -66,6 +66,8 @@ #include <asm/mach/arch.h> #include <asm/setup.h> +#include "sh-gpio.h" + /* * Address Interface BusWidth note * ------------------------------------------------------------------ |