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 Use the struct device po...



details:   https://anonhg.NetBSD.org/src/rev/7d965cfcc63d
branches:  trunk
changeset: 992651:7d965cfcc63d
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:22:49 2018 +0000

description:
Use the struct device pointer that works, not the one that doesn't exist.

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/intel_guc_loader.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1b8f82782d4f -r 7d965cfcc63d sys/external/bsd/drm2/dist/drm/i915/intel_guc_loader.c
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_guc_loader.c    Mon Aug 27 07:22:38 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_guc_loader.c    Mon Aug 27 07:22:49 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intel_guc_loader.c,v 1.4 2018/08/27 07:22:38 riastradh Exp $   */
+/*     $NetBSD: intel_guc_loader.c,v 1.5 2018/08/27 07:22:49 riastradh Exp $   */
 
 /*
  * Copyright © 2014 Intel Corporation
@@ -29,7 +29,7 @@
  *    Alex Dai <yu.dai%intel.com@localhost>
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_guc_loader.c,v 1.4 2018/08/27 07:22:38 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_guc_loader.c,v 1.5 2018/08/27 07:22:49 riastradh Exp $");
 
 #include <linux/firmware.h>
 #include <linux/module.h>
@@ -491,7 +491,7 @@
        DRM_DEBUG_DRIVER("before requesting firmware: GuC fw fetch status %s\n",
                intel_guc_fw_status_repr(guc_fw->guc_fw_fetch_status));
 
-       err = request_firmware(&fw, guc_fw->guc_fw_path, &dev->pdev->dev);
+       err = request_firmware(&fw, guc_fw->guc_fw_path, dev->dev);
        if (err)
                goto fail;
        if (!fw)



Home | Main Index | Thread Index | Old Index