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>
This commit is contained in:
Rob Herring
2012-08-28 12:54:42 -05:00
parent 74595e1764
commit 6679185909
13 changed files with 64 additions and 68 deletions

View File

@@ -64,6 +64,8 @@
#include <asm/mach/arch.h>
#include <asm/mach-types.h>
#include "sh-gpio.h"
/*
* Address Interface BusWidth note
* ------------------------------------------------------------------