summaryrefslogtreecommitdiffstats
path: root/target/linux/ar7
diff options
context:
space:
mode:
authorejka <ejka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-13 06:20:29 +0000
committerejka <ejka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-13 06:20:29 +0000
commitecb22192331eddd7e06b18f3fea188c9b339491c (patch)
treee78d88eea909a88068caf9f062822a825427c2b6 /target/linux/ar7
parentd127ad92388187340a9fed0e6d05bb0296ddc254 (diff)
copy-paste typo, lost static's
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8767 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7')
-rw-r--r--target/linux/ar7/files/arch/mips/ar7/vlynq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar7/files/arch/mips/ar7/vlynq.c b/target/linux/ar7/files/arch/mips/ar7/vlynq.c
index 3e852cd67..083dd0bd0 100644
--- a/target/linux/ar7/files/arch/mips/ar7/vlynq.c
+++ b/target/linux/ar7/files/arch/mips/ar7/vlynq.c
@@ -272,7 +272,7 @@ static int vlynq_setup_irq(struct vlynq_device *dev)
set_irq_chip_data(dev->irq_start + i, dev);
} else if (i == dev->remote_irq) {
set_irq_chip_and_handler(dev->irq_start + i,
- &vlynq_local_chip,
+ &vlynq_remote_chip,
handle_level_irq);
set_irq_chip_data(dev->irq_start + i, dev);
} else {
@@ -615,7 +615,7 @@ EXPORT_SYMBOL(vlynq_bus_type);
#ifdef CONFIG_PCI
extern void vlynq_pci_init(void);
#endif
-int __init vlynq_init(void)
+static int __init vlynq_init(void)
{
int res = 0;
@@ -641,7 +641,7 @@ fail_bus:
/* Add this back when vlynq-pci crap is gone */
#if 0
-void __devexit vlynq_exit(void)
+static void __devexit vlynq_exit(void)
{
platform_driver_unregister(&vlynq_driver);
bus_unregister(&vlynq_bus_type);