ar71xx: remove ar71xx_gpio_irq_set_type
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 29 Jun 2011 08:57:30 +0000 (08:57 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 29 Jun 2011 08:57:30 +0000 (08:57 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27309 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ar71xx/files/arch/mips/ar71xx/irq.c

index 585e8d8..90e0681 100644 (file)
@@ -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 = {
This page took 0.02474 seconds and 4 git commands to generate.