Module Name: src Committed By: jakllsch Date: Sat Sep 15 13:42:41 UTC 2018
Modified Files: src/sys/dev/fdt: fdtvar.h Log Message: fdtvar.h: Use _KERNEL_OPT wrapper where necessary. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/dev/fdt/fdtvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/fdt/fdtvar.h diff -u src/sys/dev/fdt/fdtvar.h:1.41 src/sys/dev/fdt/fdtvar.h:1.42 --- src/sys/dev/fdt/fdtvar.h:1.41 Sun Sep 9 21:14:04 2018 +++ src/sys/dev/fdt/fdtvar.h Sat Sep 15 13:42:41 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: fdtvar.h,v 1.41 2018/09/09 21:14:04 jmcneill Exp $ */ +/* $NetBSD: fdtvar.h,v 1.42 2018/09/15 13:42:41 jakllsch Exp $ */ /*- * Copyright (c) 2015 Jared D. McNeill <jmcne...@invisible.ca> @@ -37,7 +37,9 @@ #include <dev/pwm/pwmvar.h> #include <dev/clk/clk.h> +#ifdef _KERNEL_OPT #include "audio.h" +#endif #if NAUDIO > 0 #include <dev/audio_dai.h> #else