summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-10-05 18:44:24 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-10-05 18:44:24 +0000
commit7f3d685eeca40edd02cf6b1b252285148650d3e5 (patch)
tree0975af111be68653a9018ddbd6b3342b182de913 /target/linux
parent2739177201afd3c1b4b2e0e87cd1a828de0938e9 (diff)
downloadmtk-20170518-7f3d685eeca40edd02cf6b1b252285148650d3e5.zip
mtk-20170518-7f3d685eeca40edd02cf6b1b252285148650d3e5.tar.gz
mtk-20170518-7f3d685eeca40edd02cf6b1b252285148650d3e5.tar.bz2
ramips: make {read,write}_config static
SVN-Revision: 17920
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/files/arch/mips/pci/pci-rt288x.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c b/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c
index e297419..76b70d0 100644
--- a/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c
+++ b/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c
@@ -117,9 +117,9 @@ static struct pci_controller rt2880_pci_controller = {
.io_resource = &rt2880_pci_mem_resource,
};
-void inline read_config(unsigned long bus, unsigned long dev,
- unsigned long func, unsigned long reg,
- unsigned long *val)
+static inline void read_config(unsigned long bus, unsigned long dev,
+ unsigned long func, unsigned long reg,
+ unsigned long *val)
{
unsigned long address;
@@ -129,9 +129,9 @@ void inline read_config(unsigned long bus, unsigned long dev,
*val = rt2880_pci_reg_read(RT2880_PCI_REG_CONFIG_DATA);
}
-void inline write_config(unsigned long bus, unsigned long dev,
- unsigned long func, unsigned long reg,
- unsigned long val)
+static inline void write_config(unsigned long bus, unsigned long dev,
+ unsigned long func, unsigned long reg,
+ unsigned long val)
{
unsigned long address;