summaryrefslogtreecommitdiff
path: root/target/linux/ar7/files
diff options
context:
space:
mode:
authorEugene Konev <ejka@imfi.kspu.ru>2007-09-13 06:20:29 +0000
committerEugene Konev <ejka@imfi.kspu.ru>2007-09-13 06:20:29 +0000
commit4056fefe8a986d64e9a6c6458a9c32b3e648ab5c (patch)
tree3185391814ecd4625cf6435b9da89359347f506c /target/linux/ar7/files
parentc0c12e278b1e5955d6da26fb41d579137a8620cf (diff)
downloadmtk-20170518-4056fefe8a986d64e9a6c6458a9c32b3e648ab5c.zip
mtk-20170518-4056fefe8a986d64e9a6c6458a9c32b3e648ab5c.tar.gz
mtk-20170518-4056fefe8a986d64e9a6c6458a9c32b3e648ab5c.tar.bz2
copy-paste typo, lost static's
SVN-Revision: 8767
Diffstat (limited to 'target/linux/ar7/files')
-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 3e852cd..083dd0b 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);