Module Name: src
Committed By: jmcneill
Date: Tue May 15 10:17:55 UTC 2018
Modified Files:
src/sys/dev/fdt: fdtvar.h
Log Message:
Build fix for FDT kernels without audio
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 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.31 src/sys/dev/fdt/fdtvar.h:1.32
--- src/sys/dev/fdt/fdtvar.h:1.31 Wed May 9 23:59:05 2018
+++ src/sys/dev/fdt/fdtvar.h Tue May 15 10:17:55 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: fdtvar.h,v 1.31 2018/05/09 23:59:05 jmcneill Exp $ */
+/* $NetBSD: fdtvar.h,v 1.32 2018/05/15 10:17:55 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <[email protected]>
@@ -36,7 +36,13 @@
#include <dev/i2c/i2cvar.h>
#include <dev/pwm/pwmvar.h>
#include <dev/clk/clk.h>
+
+#include "audio.h"
+#if NAUDIO > 0
#include <dev/audio_dai.h>
+#else
+typedef void *audio_dai_tag_t;
+#endif
#include <dev/clock_subr.h>