summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2013-11-01 06:33:17 +0000
committerkib <kib@FreeBSD.org>2013-11-01 06:33:17 +0000
commit7933da6e9aa7e2b125493a74c863397987681991 (patch)
treee2a2110728764d39f9945c7cf3c57ad3d27fbedd /sys/dev/pci
parenta9830491c8d02d2a4d288cdc5d819c8b4db3b64d (diff)
downloadFreeBSD-src-7933da6e9aa7e2b125493a74c863397987681991.zip
FreeBSD-src-7933da6e9aa7e2b125493a74c863397987681991.tar.gz
MFC r257072:
Make pci_get_dma_tag() non-static. Approved by: re (glebius)
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pci.c1
-rw-r--r--sys/dev/pci/pci_private.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 35adaa0..4d8837f 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -96,7 +96,6 @@ static void pci_load_vendor_data(void);
static int pci_describe_parse_line(char **ptr, int *vendor,
int *device, char **desc);
static char *pci_describe_device(device_t dev);
-static bus_dma_tag_t pci_get_dma_tag(device_t bus, device_t dev);
static int pci_modevent(module_t mod, int what, void *arg);
static void pci_hdrtypedata(device_t pcib, int b, int s, int f,
pcicfgregs *cfg);
diff --git a/sys/dev/pci/pci_private.h b/sys/dev/pci/pci_private.h
index bbec401..1502288 100644
--- a/sys/dev/pci/pci_private.h
+++ b/sys/dev/pci/pci_private.h
@@ -116,6 +116,7 @@ int pci_child_pnpinfo_str_method(device_t cbdev, device_t child,
int pci_assign_interrupt_method(device_t dev, device_t child);
int pci_resume(device_t dev);
int pci_suspend(device_t dev);
+bus_dma_tag_t pci_get_dma_tag(device_t bus, device_t dev);
/** Restore the config register state. The state must be previously
* saved with pci_cfg_save. However, the pci bus driver takes care of
OpenPOWER on IntegriCloud