diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-08-29 19:16:55 +0400 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-09-14 18:21:59 +0400 |
commit | ce91574c202b8581ad15bfb1427af824f462c3d2 (patch) | |
tree | 96e4b07e59ca403d2b52d9dc5df852033db42149 /arch/arm/mach-dove | |
parent | 6679185909e79df85bd44fd964f80f36899d0880 (diff) | |
download | linux-ce91574c202b8581ad15bfb1427af824f462c3d2.tar.xz |
ARM: orion: move custom gpio functions to orion-gpio.h
Move custom orion platforms gpio code to orion-gpio to remove the
dependency on mach/gpio.h.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to 'arch/arm/mach-dove')
-rw-r--r-- | arch/arm/mach-dove/include/mach/gpio.h | 10 | ||||
-rw-r--r-- | arch/arm/mach-dove/irq.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-dove/mpp.c | 1 |
3 files changed, 3 insertions, 9 deletions
diff --git a/arch/arm/mach-dove/include/mach/gpio.h b/arch/arm/mach-dove/include/mach/gpio.h index e7e5101e35a5..40a8c178f10d 100644 --- a/arch/arm/mach-dove/include/mach/gpio.h +++ b/arch/arm/mach-dove/include/mach/gpio.h @@ -1,9 +1 @@ -/* - * arch/arm/mach-dove/include/mach/gpio.h - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - -#include <plat/gpio.h> +/* empty */ diff --git a/arch/arm/mach-dove/irq.c b/arch/arm/mach-dove/irq.c index 9bc97a5baaa8..186357f3b4db 100644 --- a/arch/arm/mach-dove/irq.c +++ b/arch/arm/mach-dove/irq.c @@ -18,6 +18,7 @@ #include <asm/mach/irq.h> #include <mach/pm.h> #include <mach/bridge-regs.h> +#include <plat/orion-gpio.h> #include "common.h" static void pmu_irq_mask(struct irq_data *d) diff --git a/arch/arm/mach-dove/mpp.c b/arch/arm/mach-dove/mpp.c index 7f70afc26f91..60bd729a1ba5 100644 --- a/arch/arm/mach-dove/mpp.c +++ b/arch/arm/mach-dove/mpp.c @@ -13,6 +13,7 @@ #include <linux/io.h> #include <plat/mpp.h> #include <mach/dove.h> +#include <plat/orion-gpio.h> #include "mpp.h" struct dove_mpp_grp { |