aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dpt/dpt.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/dpt/dpt.h')
-rw-r--r--sys/dev/dpt/dpt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/dpt/dpt.h b/sys/dev/dpt/dpt.h
index 4d151eba3e08..f2d1c2209216 100644
--- a/sys/dev/dpt/dpt.h
+++ b/sys/dev/dpt/dpt.h
@@ -1222,7 +1222,7 @@ typedef struct dpt_user_softc {
* These all come from dpt_scsi.c
*
*/
-#ifdef KERNEL
+#ifdef _KERNEL
/* This function gets the current hi-res time and returns it to the caller */
static __inline struct timeval
dpt_time_now(void)
@@ -1244,7 +1244,7 @@ dpt_minor2unit(int minor)
dpt_softc_t *dpt_minor2softc(int minor_no);
-#endif /* KERNEL */
+#endif /* _KERNEL */
/*
* This function substracts one timval structure from another,