summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/pci.c')
-rw-r--r--sys/dev/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index f993135..0917ac5 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -1783,7 +1783,7 @@ pci_assign_interrupt_method(device_t dev, device_t child)
static int
pci_modevent(module_t mod, int what, void *arg)
{
- static dev_t pci_cdev;
+ static struct cdev *pci_cdev;
switch (what) {
case MOD_LOAD:
OpenPOWER on IntegriCloud