mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
ramips: make {read,write}_config static
SVN-Revision: 17920
This commit is contained in:
parent
2739177201
commit
7f3d685eec
@ -117,7 +117,7 @@ static struct pci_controller rt2880_pci_controller = {
|
||||
.io_resource = &rt2880_pci_mem_resource,
|
||||
};
|
||||
|
||||
void inline read_config(unsigned long bus, unsigned long dev,
|
||||
static inline void read_config(unsigned long bus, unsigned long dev,
|
||||
unsigned long func, unsigned long reg,
|
||||
unsigned long *val)
|
||||
{
|
||||
@ -129,7 +129,7 @@ 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,
|
||||
static inline void write_config(unsigned long bus, unsigned long dev,
|
||||
unsigned long func, unsigned long reg,
|
||||
unsigned long val)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user