forked from Imagelibrary/rtems
Make pci_[read|write]_config* static inline, again.
This commit is contained in:
@@ -1137,7 +1137,7 @@ typedef struct {
|
|||||||
|
|
||||||
extern pci_config BSP_pci_configuration;
|
extern pci_config BSP_pci_configuration;
|
||||||
|
|
||||||
extern inline int
|
static inline int
|
||||||
pci_read_config_byte(
|
pci_read_config_byte(
|
||||||
unsigned char bus,
|
unsigned char bus,
|
||||||
unsigned char slot,
|
unsigned char slot,
|
||||||
@@ -1149,7 +1149,7 @@ pci_read_config_byte(
|
|||||||
bus, slot, function, where, val);
|
bus, slot, function, where, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern inline int
|
static inline int
|
||||||
pci_read_config_word(
|
pci_read_config_word(
|
||||||
unsigned char bus,
|
unsigned char bus,
|
||||||
unsigned char slot,
|
unsigned char slot,
|
||||||
@@ -1161,7 +1161,7 @@ pci_read_config_word(
|
|||||||
bus, slot, function, where, val);
|
bus, slot, function, where, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern inline int
|
static inline int
|
||||||
pci_read_config_dword(
|
pci_read_config_dword(
|
||||||
unsigned char bus,
|
unsigned char bus,
|
||||||
unsigned char slot,
|
unsigned char slot,
|
||||||
@@ -1172,7 +1172,7 @@ pci_read_config_dword(
|
|||||||
return BSP_pci_configuration.pci_functions->read_config_dword(bus, slot, function, where, val);
|
return BSP_pci_configuration.pci_functions->read_config_dword(bus, slot, function, where, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern inline int
|
static inline int
|
||||||
pci_write_config_byte(
|
pci_write_config_byte(
|
||||||
unsigned char bus,
|
unsigned char bus,
|
||||||
unsigned char slot,
|
unsigned char slot,
|
||||||
@@ -1184,7 +1184,7 @@ pci_write_config_byte(
|
|||||||
bus, slot, function, where, val);
|
bus, slot, function, where, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern inline int
|
static inline int
|
||||||
pci_write_config_word(
|
pci_write_config_word(
|
||||||
unsigned char bus,
|
unsigned char bus,
|
||||||
unsigned char slot,
|
unsigned char slot,
|
||||||
@@ -1196,7 +1196,7 @@ pci_write_config_word(
|
|||||||
bus, slot, function, where, val);
|
bus, slot, function, where, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern inline int
|
static inline int
|
||||||
pci_write_config_dword(
|
pci_write_config_dword(
|
||||||
unsigned char bus,
|
unsigned char bus,
|
||||||
unsigned char slot,
|
unsigned char slot,
|
||||||
|
|||||||
Reference in New Issue
Block a user