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 Fix mutex destroy pointer.



details:   https://anonhg.NetBSD.org/src/rev/de7724a79281
branches:  trunk
changeset: 365990:de7724a79281
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:30:37 2018 +0000

description:
Fix mutex destroy pointer.

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/intel_runtime_pm.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 33bfa6d0feef -r de7724a79281 sys/external/bsd/drm2/dist/drm/i915/intel_runtime_pm.c
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_runtime_pm.c    Mon Aug 27 07:30:25 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_runtime_pm.c    Mon Aug 27 07:30:37 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intel_runtime_pm.c,v 1.4 2018/08/27 07:30:25 riastradh Exp $   */
+/*     $NetBSD: intel_runtime_pm.c,v 1.5 2018/08/27 07:30:37 riastradh Exp $   */
 
 /*
  * Copyright © 2012-2014 Intel Corporation
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_runtime_pm.c,v 1.4 2018/08/27 07:30:25 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_runtime_pm.c,v 1.5 2018/08/27 07:30:37 riastradh Exp $");
 
 #include <linux/pm_runtime.h>
 #include <linux/vgaarb.h>
@@ -1939,9 +1939,9 @@
        intel_display_set_init_power(dev_priv, true);
 
 #ifdef __NetBSD__
-       linux_mutex_destroy(&dev_priv->power_domains->lock);
+       linux_mutex_destroy(&dev_priv->power_domains.lock);
 #else
-       mutex_destroy(&dev_priv->power_domains->lock);
+       mutex_destroy(&dev_priv->power_domains.lock);
 #endif
 }
 



Home | Main Index | Thread Index | Old Index