summaryrefslogtreecommitdiffstats
path: root/sys/dev/cy/cy_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/cy/cy_pci.c')
-rw-r--r--sys/dev/cy/cy_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cy/cy_pci.c b/sys/dev/cy/cy_pci.c
index 9664651..c08c419 100644
--- a/sys/dev/cy/cy_pci.c
+++ b/sys/dev/cy/cy_pci.c
@@ -66,6 +66,8 @@ __FBSDID("$FreeBSD$");
#define PLX_9060 0x0c
#define PLX_9080 0x0d
+extern devclass_t cy_devclass;
+
void *cyattach_common(u_char volatile *iobase, int cy_align);
driver_intr_t cyintr;
@@ -86,8 +88,6 @@ static driver_t cy_pci_driver = {
0,
};
-static devclass_t cy_devclass;
-
DRIVER_MODULE(cy, pci, cy_pci_driver, cy_devclass, 0, 0);
MODULE_DEPEND(cy, pci, 1, 1, 1);
OpenPOWER on IntegriCloud