Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/fdt Build fix for FDT kernels without audio
details: https://anonhg.NetBSD.org/src/rev/e786fd852c9f
branches: trunk
changeset: 322748:e786fd852c9f
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Tue May 15 10:17:55 2018 +0000
description:
Build fix for FDT kernels without audio
diffstat:
sys/dev/fdt/fdtvar.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 41524743d677 -r e786fd852c9f sys/dev/fdt/fdtvar.h
--- a/sys/dev/fdt/fdtvar.h Tue May 15 09:30:56 2018 +0000
+++ b/sys/dev/fdt/fdtvar.h Tue May 15 10:17:55 2018 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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>
Home |
Main Index |
Thread Index |
Old Index