diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2005-06-24 20:54:35 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-06-24 20:54:35 +0100 |
commit | c4982887cacf2122bc256e901598b58caf4a34be (patch) | |
tree | 12f3ddeb179f6b6f4cc956b83c726ee9208e542a /drivers/i2c | |
parent | c6b56949de86694d837750a0a89c766b9871e81c (diff) | |
download | linux-3.10-c4982887cacf2122bc256e901598b58caf4a34be.tar.gz linux-3.10-c4982887cacf2122bc256e901598b58caf4a34be.tar.bz2 linux-3.10-c4982887cacf2122bc256e901598b58caf4a34be.zip |
[PATCH] ARM: 2744/1: ixp2000 gpio irq support
Patch from Lennert Buytenhek
This patch cleans up the ixp2000 gpio irq code and implements the
set_irq_type method for gpio irqs so that users can select for which
events (falling edge/rising edge/level low/level high) on the gpio
pin they want the corresponding gpio irq to be triggered.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Deepak Saxena
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-ixp2000.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-ixp2000.c b/drivers/i2c/busses/i2c-ixp2000.c index ec943cad231..1956af382cd 100644 --- a/drivers/i2c/busses/i2c-ixp2000.c +++ b/drivers/i2c/busses/i2c-ixp2000.c @@ -33,7 +33,8 @@ #include <linux/i2c.h> #include <linux/i2c-algo-bit.h> -#include <asm/hardware.h> /* Pick up IXP42000-specific bits */ +#include <asm/hardware.h> /* Pick up IXP2000-specific bits */ +#include <asm/arch/gpio.h> static inline int ixp2000_scl_pin(void *data) { |