From: Gabor Juhos Date: Tue, 7 Jul 2009 18:04:26 +0000 (+0000) Subject: make irq_chip definitions static X-Git-Tag: reboot~23025 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f04fcfd801bfcf696629f6aaacadb9fff6a02bbf;p=oweals%2Fopenwrt.git make irq_chip definitions static SVN-Revision: 16736 --- diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c b/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c index 6bc1c6d5c4..0f7190ade9 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c @@ -213,7 +213,7 @@ static int ar71xx_gpio_irq_set_type(unsigned int irq, unsigned int flow_type) #define ar71xx_gpio_irq_set_type NULL #endif -struct irq_chip ar71xx_gpio_irq_chip = { +static struct irq_chip ar71xx_gpio_irq_chip = { .name = "AR71XX GPIO", .unmask = ar71xx_gpio_irq_unmask, .mask = ar71xx_gpio_irq_mask, @@ -323,7 +323,7 @@ static void ar71xx_misc_irq_mask(unsigned int irq) ar71xx_reset_rr(AR71XX_RESET_REG_MISC_INT_ENABLE); } -struct irq_chip ar71xx_misc_irq_chip = { +static struct irq_chip ar71xx_misc_irq_chip = { .name = "AR71XX MISC", .unmask = ar71xx_misc_irq_unmask, .mask = ar71xx_misc_irq_mask,