Module Name: src
Committed By: riastradh
Date: Sun Dec 19 10:37:33 UTC 2021
Modified Files:
src/sys/external/bsd/drm2/pci: drmfb_pci.c
Log Message:
linux/pci.h so we can dereference struct pci_dev
const struct pci_attach_args *const pa = &dev->pdev->pd_pa;
Author: Maya Rashish <[email protected]>
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/external/bsd/drm2/pci/drmfb_pci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/pci/drmfb_pci.c
diff -u src/sys/external/bsd/drm2/pci/drmfb_pci.c:1.4 src/sys/external/bsd/drm2/pci/drmfb_pci.c:1.5
--- src/sys/external/bsd/drm2/pci/drmfb_pci.c:1.4 Sun Dec 19 10:33:00 2021
+++ src/sys/external/bsd/drm2/pci/drmfb_pci.c Sun Dec 19 10:37:32 2021
@@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: drmfb_pci.c,
#include <dev/ic/vgavar.h>
#endif
+#include <linux/pci.h>
+
#include <drm/drm_device.h>
#include <drm/drm_fb_helper.h>