From 08732049490f877a5a9ce7aca95b16362371d29a Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 27 Mar 2000 20:24:02 +0000 Subject: Ahhrggg. Put the test for the compat shims AFTER the file that includes them. Pointed out by: bde --- sys/pci/cy_pci.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/pci/cy_pci.c') 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 #include #include @@ -51,6 +47,10 @@ #include #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)); -- cgit v1.1