Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce91574c authored by Rob Herring's avatar Rob Herring
Browse files

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: default avatarRob Herring <rob.herring@calxeda.com>
Acked-by: default avatarJason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
parent 66791859
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
/*
 * 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 */
+1 −0
Original line number Diff line number Diff line
@@ -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)
+1 −0
Original line number Diff line number Diff line
@@ -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 {
+1 −9
Original line number Diff line number Diff line
/*
 * arch/asm-arm/mach-kirkwood/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 */
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
#include <linux/kernel.h>
#include <linux/irq.h>
#include <mach/bridge-regs.h>
#include <plat/orion-gpio.h>
#include <plat/irq.h>

static int __initdata gpio0_irqs[4] = {
Loading