Commit 87f911a3 authored by Linus Walleij's avatar Linus Walleij Committed by Russell King

ARM: 7043/1: mach-ixp2000: rename GPIO header

The ixp2000 abuses the <mach/gpio.h> namespace by not implementing
any generic GPIO nor gpiolib functions in it - just custom GPIO.
Rename the header to <mach/gpio-ixp2000.h> for clarity.

Cc: Lennert Buytenhek <kernel@wantstofly.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 257af9f9
...@@ -39,6 +39,8 @@ ...@@ -39,6 +39,8 @@
#include <asm/mach/time.h> #include <asm/mach/time.h>
#include <asm/mach/irq.h> #include <asm/mach/irq.h>
#include <mach/gpio-ixp2000.h>
static DEFINE_SPINLOCK(ixp2000_slowport_lock); static DEFINE_SPINLOCK(ixp2000_slowport_lock);
static unsigned long ixp2000_slowport_irq_flags; static unsigned long ixp2000_slowport_irq_flags;
......
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#include <asm/mach/flash.h> #include <asm/mach/flash.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <mach/gpio-ixp2000.h>
/************************************************************************* /*************************************************************************
* IXDP2x00 IRQ Initialization * IXDP2x00 IRQ Initialization
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <mach/hardware.h> /* Pick up IXP2000-specific bits */ #include <mach/hardware.h> /* Pick up IXP2000-specific bits */
#include <asm/gpio.h> #include <mach/gpio-ixp2000.h>
static inline int ixp2000_scl_pin(void *data) static inline int ixp2000_scl_pin(void *data)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment