Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/fdt fdtvar.h: Use _KERNEL_OPT wrapper where necessary.
details: https://anonhg.NetBSD.org/src/rev/6651b1ca16fe
branches: trunk
changeset: 433448:6651b1ca16fe
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sat Sep 15 13:42:41 2018 +0000
description:
fdtvar.h: Use _KERNEL_OPT wrapper where necessary.
diffstat:
sys/dev/fdt/fdtvar.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 3128004035d6 -r 6651b1ca16fe sys/dev/fdt/fdtvar.h
--- a/sys/dev/fdt/fdtvar.h Sat Sep 15 13:33:15 2018 +0000
+++ b/sys/dev/fdt/fdtvar.h Sat Sep 15 13:42:41 2018 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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
Home |
Main Index |
Thread Index |
Old Index