summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
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
commit1e138098cd5760285fe70961760d62e98b16852a (patch)
treebe96836ae75a065a7fbef963f280d52586788197 /target/linux/ar71xx
parent055e317ed81b55bcc181b1a6b5ce2baac81e5c49 (diff)
downloadmtk-20170518-1e138098cd5760285fe70961760d62e98b16852a.zip
mtk-20170518-1e138098cd5760285fe70961760d62e98b16852a.tar.gz
mtk-20170518-1e138098cd5760285fe70961760d62e98b16852a.tar.bz2
ar71xx: remove ar71xx_gpio_irq_set_type
SVN-Revision: 27309
Diffstat (limited to 'target/linux/ar71xx')
-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 585e8d8..90e0681 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 = {