Ignore:
Timestamp:
Sep 25, 2009, 2:56:04 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
0feb8085
Parents:
ea5f512
Message:

2009-09-25 Joel Sherrill <joel.sherrill@…>

  • shared/bootloader/bootldr.h: Change extern inline to static inline.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/shared/bootloader/bootldr.h

    rea5f512 rbc98089  
    7878register boot_data *bd __asm__("r13");
    7979
    80 extern inline int
     80static inline int
    8181pcibios_read_config_byte(u_char bus, u_char dev_fn,
    8282                         u_char where, uint8_t *val) {
     
    8484}
    8585
    86 extern inline int
     86static inline int
    8787pcibios_read_config_word(u_char bus, u_char dev_fn,
    8888                         u_char where, uint16_t *val) {
     
    9090}
    9191
    92 extern inline int
     92static inline int
    9393pcibios_read_config_dword(u_char bus, u_char dev_fn,
    9494                         u_char where, uint32_t *val) {
     
    9696}
    9797
    98 extern inline int
     98static inline int
    9999pcibios_write_config_byte(u_char bus, u_char dev_fn,
    100100                         u_char where, uint8_t val) {
     
    102102}
    103103
    104 extern inline int
     104static inline int
    105105pcibios_write_config_word(u_char bus, u_char dev_fn,
    106106                         u_char where, uint16_t val) {
     
    108108}
    109109
    110 extern inline int
     110static inline int
    111111pcibios_write_config_dword(u_char bus, u_char dev_fn,
    112112                         u_char where, uint32_t val) {
     
    114114}
    115115
    116 extern inline int
     116static inline int
    117117pci_bootloader_read_config_byte(struct pci_dev *dev, u_char where, uint8_t *val) {
    118118        return bd->pci_functions->read_config_byte(dev->bus->number,
     
    121121}
    122122
    123 extern inline int
     123static inline int
    124124pci_bootloader_read_config_word(struct pci_dev *dev, u_char where, uint16_t *val) {
    125125        return bd->pci_functions->read_config_word(dev->bus->number,
     
    128128}
    129129
    130 extern inline int
     130static inline int
    131131pci_bootloader_read_config_dword(struct pci_dev *dev, u_char where, uint32_t *val) {
    132132        return bd->pci_functions->read_config_dword(dev->bus->number,
     
    135135}
    136136
    137 extern inline int
     137static inline int
    138138pci_bootloader_write_config_byte(struct pci_dev *dev, u_char where, uint8_t val) {
    139139        return bd->pci_functions->write_config_byte(dev->bus->number,
     
    142142}
    143143
    144 extern inline int
     144static inline int
    145145pci_bootloader_write_config_word(struct pci_dev *dev, u_char where, uint16_t val) {
    146146        return bd->pci_functions->write_config_word(dev->bus->number,
     
    149149}
    150150
    151 extern inline int
     151static inline int
    152152pci_bootloader_write_config_dword(struct pci_dev *dev, u_char where, uint32_t val) {
    153153        return bd->pci_functions->write_config_dword(dev->bus->number,
Note: See TracChangeset for help on using the changeset viewer.