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/pci linux/pci.h so we can dereference ...
details: https://anonhg.NetBSD.org/src/rev/417c14dee514
branches: trunk
changeset: 1028318:417c14dee514
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 10:37:32 2021 +0000
description:
linux/pci.h so we can dereference struct pci_dev
const struct pci_attach_args *const pa = &dev->pdev->pd_pa;
Author: Maya Rashish <maya%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/pci/drmfb_pci.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 8169192c1bd3 -r 417c14dee514 sys/external/bsd/drm2/pci/drmfb_pci.c
--- a/sys/external/bsd/drm2/pci/drmfb_pci.c Sun Dec 19 10:37:25 2021 +0000
+++ b/sys/external/bsd/drm2/pci/drmfb_pci.c Sun Dec 19 10:37:32 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drmfb_pci.c,v 1.4 2021/12/19 10:33:00 riastradh Exp $ */
+/* $NetBSD: drmfb_pci.c,v 1.5 2021/12/19 10:37:32 riastradh Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drmfb_pci.c,v 1.4 2021/12/19 10:33:00 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drmfb_pci.c,v 1.5 2021/12/19 10:37:32 riastradh Exp $");
#ifdef _KERNEL_OPT
#include "vga.h"
@@ -62,6 +62,8 @@
#include <dev/ic/vgavar.h>
#endif
+#include <linux/pci.h>
+
#include <drm/drm_device.h>
#include <drm/drm_fb_helper.h>
Home |
Main Index |
Thread Index |
Old Index