summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_zp.c
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-02-04 04:41:37 +0000
committereivind <eivind@FreeBSD.org>1998-02-04 04:41:37 +0000
commita38d8f12010eca387e9ec54dec39f9039a857650 (patch)
tree67213bc2b8123b011be97676f363b7808b32d826 /sys/i386/isa/if_zp.c
parentf1dfb3904442f2b1ca0801ceb4abd4d96c48d78b (diff)
downloadFreeBSD-src-a38d8f12010eca387e9ec54dec39f9039a857650.zip
FreeBSD-src-a38d8f12010eca387e9ec54dec39f9039a857650.tar.gz
Change LINT_PCCARD_HACK to COMPILING_LINT, and put it in its own header file
"opt_lint.h". This should prevent the next person needing the same trick from inventing their own option, too.
Diffstat (limited to 'sys/i386/isa/if_zp.c')
-rw-r--r--sys/i386/isa/if_zp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/i386/isa/if_zp.c b/sys/i386/isa/if_zp.c
index 5c155b1..50bc231 100644
--- a/sys/i386/isa/if_zp.c
+++ b/sys/i386/isa/if_zp.c
@@ -34,7 +34,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* From: if_ep.c,v 1.9 1994/01/25 10:46:29 deraadt Exp $
- * $Id: if_zp.c,v 1.42 1997/12/15 20:30:56 eivind Exp $
+ * $Id: if_zp.c,v 1.43 1998/01/08 23:41:08 eivind Exp $
*/
/*-
* TODO:
@@ -101,10 +101,12 @@
*/
/* XXX - Don't mix different PCCARD support code */
+#include "opt_lint.h"
+
#include "card.h"
#include "pcic.h"
#if NCARD > 0 || NPCIC > 0
-#ifndef LINT_PCCARD_HACK
+#ifndef COMPILING_LINT
#error "Dedicated PCMCIA drivers and generic PCMCIA support can't be mixed"
#else
#warning "Dedicated PCMCIA drivers and generic PCMCIA support can't be mixed"
OpenPOWER on IntegriCloud