diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2015-04-08 10:51:45 +0200 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2015-04-17 01:10:28 +0200 |
commit | f4bf22c8e5093fa65b0c95467c918a2812daef66 (patch) | |
tree | 30f567c90c5bf2cc85e7382a5410a934907dd10d /cpukit/libpci/pci_cfg_peripheral.c | |
parent | LIBPCI: various comment/unsed clean-ups (diff) | |
download | rtems-f4bf22c8e5093fa65b0c95467c918a2812daef66.tar.bz2 |
LIBPCI: new implementation private header file
- new implementation private header file
- moved double implementation of pci_dev_create used by read & auto cfg
libraries to common pci_dev_create.c
- moved declaration of pci_bus_cnt to private header file so avoid extern
in .c files
Diffstat (limited to 'cpukit/libpci/pci_cfg_peripheral.c')
-rw-r--r-- | cpukit/libpci/pci_cfg_peripheral.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/libpci/pci_cfg_peripheral.c b/cpukit/libpci/pci_cfg_peripheral.c index e6c69b68ba..c2ab7ecd5d 100644 --- a/cpukit/libpci/pci_cfg_peripheral.c +++ b/cpukit/libpci/pci_cfg_peripheral.c @@ -18,8 +18,7 @@ #include <pci/cfg.h> -/* Number of buses */ -extern int pci_bus_cnt; +#include "pci_internal.h" /* Assume that user has defined static setup array in pci_hb */ int pci_config_peripheral(void) |