diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2017-08-30 11:01:38 +0200 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2017-09-29 13:36:44 +0200 |
commit | f9fbb3336ff4e9044795e02b2847bbc1206674f5 (patch) | |
tree | d74bd69e94b597ea75e8b82e78d6950905219b4e /cpukit/libpci/pci_internal.h | |
parent | bsp/bf537Stamp: Fix warning (diff) | |
download | rtems-f9fbb3336ff4e9044795e02b2847bbc1206674f5.tar.bz2 |
libpci: fix pci device allocation
The refactoring of pci_dev_create() was incorrect since the code relied on
different defines before including pci/cfg.h. This reverts back to the
original code having two pci_dev_create() one in auto and one in read library.
confdefs.h selectes between the two libraries so both there is no link
conflict.
Updates #3029
Diffstat (limited to '')
-rw-r--r-- | cpukit/libpci/pci_internal.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cpukit/libpci/pci_internal.h b/cpukit/libpci/pci_internal.h index a89e8f1f4b..d0bb83ca14 100644 --- a/cpukit/libpci/pci_internal.h +++ b/cpukit/libpci/pci_internal.h @@ -9,6 +9,3 @@ /* Number of buses */ extern int pci_bus_cnt; - -/* Allocate a PCI device for a standard device or a bridge device */ -struct pci_dev *pci_dev_create(int isbus); |