aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-07-07 18:04:26 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-07-07 18:04:26 +0000
commit23dcbe7aecfcfd3823b973ed47830a3fd0cd34c4 (patch)
tree64ae4de923097f2b4776776b6d20f527b79dac0c
parent781aad8b68e2f4341c4dd6efd17fbd1b1307caeb (diff)
downloadupstream-23dcbe7aecfcfd3823b973ed47830a3fd0cd34c4.tar.gz
upstream-23dcbe7aecfcfd3823b973ed47830a3fd0cd34c4.tar.bz2
upstream-23dcbe7aecfcfd3823b973ed47830a3fd0cd34c4.zip
[ar71xx] make irq_chip definitions static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16736 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/irq.c4
1 files changed, 2 insertions, 2 deletions
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,