Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include/linux/regulator Protect #inclu...



details:   https://anonhg.NetBSD.org/src/rev/34770012efa3
branches:  trunk
changeset: 366097:34770012efa3
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:49:36 2018 +0000

description:
Protect #include "opt_*.h" by #ifdef _KERNEL_OPT.

diffstat:

 sys/external/bsd/drm2/include/linux/regulator/consumer.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r cbb52ea764b7 -r 34770012efa3 sys/external/bsd/drm2/include/linux/regulator/consumer.h
--- a/sys/external/bsd/drm2/include/linux/regulator/consumer.h  Mon Aug 27 07:49:25 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/regulator/consumer.h  Mon Aug 27 07:49:36 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: consumer.h,v 1.2 2018/08/27 07:33:18 riastradh Exp $   */
+/*     $NetBSD: consumer.h,v 1.3 2018/08/27 07:49:36 riastradh Exp $   */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -32,7 +32,9 @@
 #ifndef        _LINUX_REGULATOR_CONSUMER_H_
 #define        _LINUX_REGULATOR_CONSUMER_H_
 
+#ifdef _KERNEL_OPT
 #include "opt_fdt.h"
+#endif
 
 #ifdef FDT
 



Home | Main Index | Thread Index | Old Index