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/include/linux Initialize more of struc...



details:   https://anonhg.NetBSD.org/src/rev/7728db80f3cb
branches:  trunk
changeset: 366255:7728db80f3cb
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 14:15:35 2018 +0000

description:
Initialize more of struct pci_device.

diffstat:

 sys/external/bsd/drm2/include/linux/pci.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r fbfd5586722a -r 7728db80f3cb sys/external/bsd/drm2/include/linux/pci.h
--- a/sys/external/bsd/drm2/include/linux/pci.h Mon Aug 27 14:15:24 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/pci.h Mon Aug 27 14:15:35 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci.h,v 1.34 2018/08/27 14:12:00 riastradh Exp $       */
+/*     $NetBSD: pci.h,v 1.35 2018/08/27 14:15:35 riastradh Exp $       */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -203,6 +203,8 @@
 #else
        pdev->pd_ad = NULL;
 #endif
+       pdev->pd_saved_state = NULL;
+       pdev->pd_intr_handles = NULL;
        pdev->bus = kmem_zalloc(sizeof(*pdev->bus), KM_NOSLEEP);
        pdev->bus->pb_pc = pa->pa_pc;
        pdev->bus->pb_dev = parent;



Home | Main Index | Thread Index | Old Index