remove lnxPciInit() unused function.
This commit is contained in:
@@ -25,8 +25,6 @@
|
|||||||
#define PCIADDR_FMT "%lx"
|
#define PCIADDR_FMT "%lx"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int lnxPciInit(void);
|
|
||||||
|
|
||||||
struct pci_dev {
|
struct pci_dev {
|
||||||
unsigned int domain;
|
unsigned int domain;
|
||||||
unsigned int bus;
|
unsigned int bus;
|
||||||
@@ -139,14 +137,6 @@ static struct pci_dev *xf86OSLinuxGetPciDevs(void) {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* not to be confused with linuxPciInit (i.e. ARCH_PCI_INIT), found in
|
|
||||||
* os-support/bus/linuxPci.c. */
|
|
||||||
int lnxPciInit(void) {
|
|
||||||
if (!xf86OSLinuxPCIDevs)
|
|
||||||
xf86OSLinuxPCIDevs = xf86OSLinuxGetPciDevs();
|
|
||||||
return xf86OSLinuxNumPciDevs;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Query the kvirt address (64bit) of a BAR range from size for a given TAG */
|
/* Query the kvirt address (64bit) of a BAR range from size for a given TAG */
|
||||||
unsigned long
|
unsigned long
|
||||||
xf86GetOSOffsetFromPCI(PCITAG tag, int space, unsigned long base)
|
xf86GetOSOffsetFromPCI(PCITAG tag, int space, unsigned long base)
|
||||||
|
|||||||
Reference in New Issue
Block a user