make irq_chip definitions static

SVN-Revision: 16736
This commit is contained in:
Gabor Juhos 2009-07-07 18:04:26 +00:00
parent c8d103a660
commit f04fcfd801

View file

@ -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 #define ar71xx_gpio_irq_set_type NULL
#endif #endif
struct irq_chip ar71xx_gpio_irq_chip = { static struct irq_chip ar71xx_gpio_irq_chip = {
.name = "AR71XX GPIO", .name = "AR71XX GPIO",
.unmask = ar71xx_gpio_irq_unmask, .unmask = ar71xx_gpio_irq_unmask,
.mask = ar71xx_gpio_irq_mask, .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); 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", .name = "AR71XX MISC",
.unmask = ar71xx_misc_irq_unmask, .unmask = ar71xx_misc_irq_unmask,
.mask = ar71xx_misc_irq_mask, .mask = ar71xx_misc_irq_mask,