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 <[email protected]>
Cc: Paul Mundt <[email protected]>
Cc: Magnus Damm <[email protected]>
This commit is contained in:
Rob Herring 2012-08-28 12:54:42 -05:00
commit 6679185909
13 changed files with 64 additions and 68 deletions

View file

@ -17,6 +17,7 @@
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/pinctrl/consumer.h>
#include <linux/sh_pfc.h>
struct sh_pfc_chip {
struct sh_pfc *pfc;