summaryrefslogtreecommitdiffstats
path: root/sys/dev/rp/rp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/rp/rp.c')
-rw-r--r--sys/dev/rp/rp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c
index 0ffc8d8..d935bde 100644
--- a/sys/dev/rp/rp.c
+++ b/sys/dev/rp/rp.c
@@ -780,7 +780,11 @@ static struct pci_device rp_pcidevice = {
NULL
};
+#ifdef COMPAT_PCI_DRIVER
+COMPAT_PCI_DRIVER (rp_pci, rp_pcidevice);
+#else
DATA_SET (pcidevice_set, rp_pcidevice);
+#endif /* COMPAT_PCI_DRIVER */
static timeout_t rpdtrwakeup;
OpenPOWER on IntegriCloud