summaryrefslogtreecommitdiffstats
path: root/sys/dev/sr
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sr')
-rw-r--r--sys/dev/sr/if_sr_pci.c5
1 files changed, 5 insertions, 0 deletions
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 <sys/param.h>
@@ -131,3 +135,4 @@ sr_pci_attach(pcici_t config_id, int unit)
return;
}
}
+#endif
OpenPOWER on IntegriCloud