mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-26 22:21:07 +02:00
ramips: make {read,write}_config static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17920 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ea714ecea2
commit
526e421dbd
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user