summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-25 14:56:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-25 14:56:04 +0000
commitbc9808931c1a41b88adbda925481b165b664bfc0 (patch)
treee82867d4396fe38bc52cc895a576cdc6c566299b /c
parent2009-09-25 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-bc9808931c1a41b88adbda925481b165b664bfc0.tar.bz2
2009-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/bootloader/bootldr.h: Change extern inline to static inline.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/powerpc/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/shared/bootloader/bootldr.h24
2 files changed, 16 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/powerpc/ChangeLog b/c/src/lib/libbsp/powerpc/ChangeLog
index 81651a270e..986b06b9c3 100644
--- a/c/src/lib/libbsp/powerpc/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * shared/bootloader/bootldr.h: Change extern inline to static inline.
+
2009-09-11 Till Straumann <strauman@slac.stanford.edu>
* shared/openpic/openpic.c: include the more generic <rtems/pci.h>
diff --git a/c/src/lib/libbsp/powerpc/shared/bootloader/bootldr.h b/c/src/lib/libbsp/powerpc/shared/bootloader/bootldr.h
index 2144a285e9..065297780d 100644
--- a/c/src/lib/libbsp/powerpc/shared/bootloader/bootldr.h
+++ b/c/src/lib/libbsp/powerpc/shared/bootloader/bootldr.h
@@ -77,78 +77,78 @@ typedef struct _boot_data {
register boot_data *bd __asm__("r13");
-extern inline int
+static inline int
pcibios_read_config_byte(u_char bus, u_char dev_fn,
u_char where, uint8_t *val) {
return bd->pci_functions->read_config_byte(bus, dev_fn, where, val);
}
-extern inline int
+static inline int
pcibios_read_config_word(u_char bus, u_char dev_fn,
u_char where, uint16_t *val) {
return bd->pci_functions->read_config_word(bus, dev_fn, where, val);
}
-extern inline int
+static inline int
pcibios_read_config_dword(u_char bus, u_char dev_fn,
u_char where, uint32_t *val) {
return bd->pci_functions->read_config_dword(bus, dev_fn, where, val);
}
-extern inline int
+static inline int
pcibios_write_config_byte(u_char bus, u_char dev_fn,
u_char where, uint8_t val) {
return bd->pci_functions->write_config_byte(bus, dev_fn, where, val);
}
-extern inline int
+static inline int
pcibios_write_config_word(u_char bus, u_char dev_fn,
u_char where, uint16_t val) {
return bd->pci_functions->write_config_word(bus, dev_fn, where, val);
}
-extern inline int
+static inline int
pcibios_write_config_dword(u_char bus, u_char dev_fn,
u_char where, uint32_t val) {
return bd->pci_functions->write_config_dword(bus, dev_fn, where, val);
}
-extern inline int
+static inline int
pci_bootloader_read_config_byte(struct pci_dev *dev, u_char where, uint8_t *val) {
return bd->pci_functions->read_config_byte(dev->bus->number,
dev->devfn,
where, val);
}
-extern inline int
+static inline int
pci_bootloader_read_config_word(struct pci_dev *dev, u_char where, uint16_t *val) {
return bd->pci_functions->read_config_word(dev->bus->number,
dev->devfn,
where, val);
}
-extern inline int
+static inline int
pci_bootloader_read_config_dword(struct pci_dev *dev, u_char where, uint32_t *val) {
return bd->pci_functions->read_config_dword(dev->bus->number,
dev->devfn,
where, val);
}
-extern inline int
+static inline int
pci_bootloader_write_config_byte(struct pci_dev *dev, u_char where, uint8_t val) {
return bd->pci_functions->write_config_byte(dev->bus->number,
dev->devfn,
where, val);
}
-extern inline int
+static inline int
pci_bootloader_write_config_word(struct pci_dev *dev, u_char where, uint16_t val) {
return bd->pci_functions->write_config_word(dev->bus->number,
dev->devfn,
where, val);
}
-extern inline int
+static inline int
pci_bootloader_write_config_dword(struct pci_dev *dev, u_char where, uint32_t val) {
return bd->pci_functions->write_config_dword(dev->bus->number,
dev->devfn,