forked from Imagelibrary/rtems
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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user