diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-10-05 18:44:24 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-10-05 18:44:24 +0000 |
commit | f9acd51de50def519413578d823ca2080711d20b (patch) | |
tree | b2e9fb1db8881bdcc9293c6bb1051c937be20991 /target/linux/ramips/files/arch/mips | |
parent | bf3c267e3b0003ebfb707f82315ef9ec76175199 (diff) | |
download | master-187ad058-f9acd51de50def519413578d823ca2080711d20b.tar.gz master-187ad058-f9acd51de50def519413578d823ca2080711d20b.tar.bz2 master-187ad058-f9acd51de50def519413578d823ca2080711d20b.zip |
ramips: make {read,write}_config static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17920 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips')
-rw-r--r-- | target/linux/ramips/files/arch/mips/pci/pci-rt288x.c | 12 |
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 e297419012..76b70d09e1 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; |