Module Name: src
Committed By: riastradh
Date: Mon Aug 27 07:49:36 UTC 2018
Modified Files:
src/sys/external/bsd/drm2/include/linux/regulator: consumer.h
Log Message:
Protect #include "opt_*.h" by #ifdef _KERNEL_OPT.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/sys/external/bsd/drm2/include/linux/regulator/consumer.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/external/bsd/drm2/include/linux/regulator/consumer.h
diff -u src/sys/external/bsd/drm2/include/linux/regulator/consumer.h:1.2 src/sys/external/bsd/drm2/include/linux/regulator/consumer.h:1.3
--- src/sys/external/bsd/drm2/include/linux/regulator/consumer.h:1.2 Mon Aug 27 07:33:18 2018
+++ src/sys/external/bsd/drm2/include/linux/regulator/consumer.h Mon Aug 27 07:49:36 2018
@@ -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