ramips: make {read,write}_config static
authorGabor Juhos <juhosg@openwrt.org>
Mon, 5 Oct 2009 18:44:24 +0000 (18:44 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 5 Oct 2009 18:44:24 +0000 (18:44 +0000)
SVN-Revision: 17920

target/linux/ramips/files/arch/mips/pci/pci-rt288x.c

index e29741901232425d11e469c4ad6a285faf369463..76b70d09e1e8e1c689e857573f537915c179a10d 100644 (file)
@@ -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;