]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
sh: make EARLY_PCI_OP's static
authorAdrian Bunk <bunk@kernel.org>
Tue, 17 Jun 2008 22:31:03 +0000 (01:31 +0300)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jul 2008 09:10:30 +0000 (18:10 +0900)
This patch makes the needlessly global EARLY_PCI_OP's static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/pci/pci-auto.c

index ea404704ace83b03682bd478f63f5f03f5eaac3b..cf48b12ee58cba02b85192f0ed80cd51f5d92a80 100644 (file)
@@ -78,7 +78,7 @@ static struct pci_dev *fake_pci_dev(struct pci_channel *hose,
 }
 
 #define EARLY_PCI_OP(rw, size, type)                                   \
-int early_##rw##_config_##size(struct pci_channel *hose,               \
+static int early_##rw##_config_##size(struct pci_channel *hose,                \
        int top_bus, int bus, int devfn, int offset, type value)        \
 {                                                                      \
        return pci_##rw##_config_##size(                                \