summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorAdrian Bunk2008-06-18 00:31:03 +0200
committerPaul Mundt2008-07-28 11:10:30 +0200
commit175fb09f4a770fd542947e8c3f4e6dbf07debea9 (patch)
treebc81c0e350b78bd5dfa63ed6344eb928bba821f6 /arch/sh
parentsh/boards/dreamcast/rtc.c: make 2 functions static (diff)
downloadkernel-qcow2-linux-175fb09f4a770fd542947e8c3f4e6dbf07debea9.tar.gz
kernel-qcow2-linux-175fb09f4a770fd542947e8c3f4e6dbf07debea9.tar.xz
kernel-qcow2-linux-175fb09f4a770fd542947e8c3f4e6dbf07debea9.zip
sh: make EARLY_PCI_OP's static
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>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/drivers/pci/pci-auto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/drivers/pci/pci-auto.c b/arch/sh/drivers/pci/pci-auto.c
index ea404704ace8..cf48b12ee58c 100644
--- a/arch/sh/drivers/pci/pci-auto.c
+++ b/arch/sh/drivers/pci/pci-auto.c
@@ -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( \