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/e4e32d874e9a
branches:  trunk
changeset: 365952:e4e32d874e9a
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 f38b6a99b1da -r e4e32d874e9a 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