浏览代码

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>
Adrian Bunk 17 年之前
父节点
当前提交
175fb09f4a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/sh/drivers/pci/pci-auto.c

+ 1 - 1
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)					\
 #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)	\
 	int top_bus, int bus, int devfn, int offset, type value)	\
 {									\
 {									\
 	return pci_##rw##_config_##size(				\
 	return pci_##rw##_config_##size(				\