summaryrefslogtreecommitdiffstats
path: root/sys/pci/cy_pci.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-03-27 20:24:02 +0000
committerimp <imp@FreeBSD.org>2000-03-27 20:24:02 +0000
commit08732049490f877a5a9ce7aca95b16362371d29a (patch)
treee805f7d91f322505bd74be263d11fcfc800fc557 /sys/pci/cy_pci.c
parentc0e09df016e1c742635bf5439eda43e93cf6f171 (diff)
downloadFreeBSD-src-08732049490f877a5a9ce7aca95b16362371d29a.zip
FreeBSD-src-08732049490f877a5a9ce7aca95b16362371d29a.tar.gz
Ahhrggg. Put the test for the compat shims AFTER the file that includes
them. Pointed out by: bde
Diffstat (limited to 'sys/pci/cy_pci.c')
-rw-r--r--sys/pci/cy_pci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/pci/cy_pci.c b/sys/pci/cy_pci.c
index e52e554..e1158d2 100644
--- a/sys/pci/cy_pci.c
+++ b/sys/pci/cy_pci.c
@@ -33,10 +33,6 @@
#include "opt_cy_pci_fastintr.h"
-#ifndef COMPAT_OLDPCI
-#error "The cy device requires the old pci compatibility shims"
-#endif
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
@@ -51,6 +47,10 @@
#include <i386/isa/intr_machdep.h>
#endif
+#ifndef COMPAT_OLDPCI
+#error "The cy device requires the old pci compatibility shims"
+#endif
+
static const char *cy_probe __P((pcici_t, pcidi_t));
static void cy_attach __P((pcici_t, int));
OpenPOWER on IntegriCloud