summaryrefslogtreecommitdiffstats
path: root/sys/pci/alpm.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/alpm.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/alpm.c')
-rw-r--r--sys/pci/alpm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/pci/alpm.c b/sys/pci/alpm.c
index 7ed28d5..1e8e785 100644
--- a/sys/pci/alpm.c
+++ b/sys/pci/alpm.c
@@ -27,10 +27,6 @@
*
*/
-#ifndef COMPAT_OLDPCI
-#error "The alpm device requires the old pci compatibility shims"
-#endif
-
/*
* Power Management support for the Acer M15x3 chipsets
*/
@@ -59,6 +55,10 @@
#include "alpm.h"
+#ifndef COMPAT_OLDPCI
+#error "The alpm device requires the old pci compatibility shims"
+#endif
+
#define ALPM_DEBUG(x) if (alpm_debug) (x)
#ifdef DEBUG
OpenPOWER on IntegriCloud