diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-08-28 21:54:42 +0400 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-09-14 18:21:58 +0400 |
commit | 6679185909e79df85bd44fd964f80f36899d0880 (patch) | |
tree | 7cf6de310303227c7a1ec060fe4af60df0707746 /arch/arm/mach-shmobile/pfc-sh7377.c | |
parent | 74595e1764e271911c73e8ab816e0be269420134 (diff) | |
download | linux-6679185909e79df85bd44fd964f80f36899d0880.tar.xz |
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/pfc-sh7377.c')
-rw-r--r-- | arch/arm/mach-shmobile/pfc-sh7377.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/pfc-sh7377.c b/arch/arm/mach-shmobile/pfc-sh7377.c index 2f10511946ad..f3117f67fa25 100644 --- a/arch/arm/mach-shmobile/pfc-sh7377.c +++ b/arch/arm/mach-shmobile/pfc-sh7377.c @@ -19,7 +19,7 @@ */ #include <linux/init.h> #include <linux/kernel.h> -#include <linux/gpio.h> +#include <linux/sh_pfc.h> #include <mach/sh7377.h> #define CPU_ALL_PORT(fn, pfx, sfx) \ |