diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-08-29 11:16:55 -0400 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-09-14 10:21:59 -0400 |
commit | ce91574c202b8581ad15bfb1427af824f462c3d2 (patch) | |
tree | 96e4b07e59ca403d2b52d9dc5df852033db42149 /arch/arm/mach-dove | |
parent | 6679185909e79df85bd44fd964f80f36899d0880 (diff) |
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 @@ | |||
1 | /* | /* empty */ | |
2 | * arch/arm/mach-dove/include/mach/gpio.h | ||
3 | * | ||
4 | * This file is licensed under the terms of the GNU General Public | ||
5 | * License version 2. This program is licensed "as is" without any | ||
6 | * warranty of any kind, whether express or implied. | ||
7 | */ | ||
8 | |||
9 | #include <plat/gpio.h> | ||
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 @@ | |||
18 | #include <asm/mach/irq.h> | 18 | #include <asm/mach/irq.h> |
19 | #include <mach/pm.h> | 19 | #include <mach/pm.h> |
20 | #include <mach/bridge-regs.h> | 20 | #include <mach/bridge-regs.h> |
21 | #include <plat/orion-gpio.h> | ||
21 | #include "common.h" | 22 | #include "common.h" |
22 | 23 | ||
23 | static void pmu_irq_mask(struct irq_data *d) | 24 | 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 @@ | |||
13 | #include <linux/io.h> | 13 | #include <linux/io.h> |
14 | #include <plat/mpp.h> | 14 | #include <plat/mpp.h> |
15 | #include <mach/dove.h> | 15 | #include <mach/dove.h> |
16 | #include <plat/orion-gpio.h> | ||
16 | #include "mpp.h" | 17 | #include "mpp.h" |
17 | 18 | ||
18 | struct dove_mpp_grp { | 19 | struct dove_mpp_grp { |