From bc9808931c1a41b88adbda925481b165b664bfc0 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 25 Sep 2009 14:56:04 +0000 Subject: 2009-09-25 Joel Sherrill * shared/bootloader/bootldr.h: Change extern inline to static inline. --- c/src/lib/libbsp/powerpc/ChangeLog | 4 ++++ .../lib/libbsp/powerpc/shared/bootloader/bootldr.h | 24 +++++++++++----------- 2 files changed, 16 insertions(+), 12 deletions(-) (limited to 'c') 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 + + * shared/bootloader/bootldr.h: Change extern inline to static inline. + 2009-09-11 Till Straumann * shared/openpic/openpic.c: include the more generic 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, -- cgit v1.2.3