aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-06-29 08:57:30 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-06-29 08:57:30 +0000
commit40dfb136e7b97de923312603916abbab42c49757 (patch)
tree7ea9929a1889ca253776816c71afaa7a37e03ac6 /target/linux/ar71xx/files
parent551199f23d8ca9ff72458c52d391a467aef642d4 (diff)
downloadupstream-40dfb136e7b97de923312603916abbab42c49757.tar.gz
upstream-40dfb136e7b97de923312603916abbab42c49757.tar.bz2
upstream-40dfb136e7b97de923312603916abbab42c49757.zip
ar71xx: remove ar71xx_gpio_irq_set_type
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27309 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/irq.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c b/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c
index 585e8d85bb..90e06817df 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c
@@ -65,22 +65,11 @@ static void ar71xx_gpio_irq_mask(unsigned int irq)
(void) __raw_readl(base + GPIO_REG_INT_ENABLE);
}
-#if 0
-static int ar71xx_gpio_irq_set_type(unsigned int irq, unsigned int flow_type)
-{
- /* TODO: implement */
- return 0;
-}
-#else
-#define ar71xx_gpio_irq_set_type NULL
-#endif
-
static struct irq_chip ar71xx_gpio_irq_chip = {
.name = "AR71XX GPIO",
.unmask = ar71xx_gpio_irq_unmask,
.mask = ar71xx_gpio_irq_mask,
.mask_ack = ar71xx_gpio_irq_mask,
- .set_type = ar71xx_gpio_irq_set_type,
};
static struct irqaction ar71xx_gpio_irqaction = {