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/dist/drm/i915 i915: #ifdef -> #if IS_E...



details:   https://anonhg.NetBSD.org/src/rev/9c9691d6d14d
branches:  trunk
changeset: 1028713:9c9691d6d14d
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:50:24 2021 +0000

description:
i915: #ifdef -> #if IS_ENABLED

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/intel_gvt.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f8976f27c5ff -r 9c9691d6d14d sys/external/bsd/drm2/dist/drm/i915/intel_gvt.h
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_gvt.h   Sun Dec 19 11:50:17 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_gvt.h   Sun Dec 19 11:50:24 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intel_gvt.h,v 1.2 2021/12/18 23:45:28 riastradh Exp $  */
+/*     $NetBSD: intel_gvt.h,v 1.3 2021/12/19 11:50:24 riastradh Exp $  */
 
 /*
  * Copyright(c) 2011-2016 Intel Corporation. All rights reserved.
@@ -28,7 +28,7 @@
 
 struct drm_i915_private;
 
-#ifdef CONFIG_DRM_I915_GVT
+#if IS_ENABLED(CONFIG_DRM_I915_GVT)
 int intel_gvt_init(struct drm_i915_private *dev_priv);
 void intel_gvt_driver_remove(struct drm_i915_private *dev_priv);
 int intel_gvt_init_device(struct drm_i915_private *dev_priv);



Home | Main Index | Thread Index | Old Index