aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pci/pci_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/pci_private.h')
-rw-r--r--sys/dev/pci/pci_private.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/pci_private.h b/sys/dev/pci/pci_private.h
index 06beee96c14d..b6bbaa0633d7 100644
--- a/sys/dev/pci/pci_private.h
+++ b/sys/dev/pci/pci_private.h
@@ -34,10 +34,9 @@
/*
* Export definitions of the pci bus so that we can more easily share
- * it with "subclass" busses. A more generic subclassing mechanism would
- * be nice, but is not present in the tree at this time.
+ * it with "subclass" busses.
*/
-extern devclass_t pci_devclass;
+DECLARE_CLASS(pci_driver);
void pci_add_children(device_t dev, int busno, size_t dinfo_size);
void pci_add_child(device_t bus, struct pci_devinfo *dinfo);