summaryrefslogtreecommitdiffstats
path: root/sys/pci/meteor.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/meteor.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/meteor.c')
-rw-r--r--sys/pci/meteor.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/pci/meteor.c b/sys/pci/meteor.c
index 68359ee..b3cbc0b 100644
--- a/sys/pci/meteor.c
+++ b/sys/pci/meteor.c
@@ -145,10 +145,6 @@
future version of this driver.
*/
-#ifndef COMPAT_OLDPCI
-#error "The meteor device requires the old pci compatibility shims"
-#endif
-
#include "meteor.h"
#include "opt_meteor.h"
@@ -175,6 +171,9 @@
#include <machine/ioctl_meteor.h>
#include <pci/meteor_reg.h>
+#ifndef COMPAT_OLDPCI
+#error "The meteor device requires the old pci compatibility shims"
+#endif
static void meteor_intr __P((void *arg));
OpenPOWER on IntegriCloud