From 136bb589b55a34b9c00424c70b0776e4322018f7 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 17 Jan 2001 00:47:46 +0000 Subject: Special case for compiling LINT - just give a warning and continue on. At least we have a chance at getting test compile coverage for the rest of the kernel now. --- sys/dev/sr/if_sr_pci.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys/dev/sr') diff --git a/sys/dev/sr/if_sr_pci.c b/sys/dev/sr/if_sr_pci.c index 1bf8177..b8ac2cc 100644 --- a/sys/dev/sr/if_sr_pci.c +++ b/sys/dev/sr/if_sr_pci.c @@ -30,6 +30,10 @@ * $FreeBSD$ */ +#ifdef COMPILING_LINT +#warning "The sr pci driver is broken and is not compiled with LINT" +#else + #include "sr.h" #include @@ -131,3 +135,4 @@ sr_pci_attach(pcici_t config_id, int unit) return; } } +#endif -- cgit v1.1