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 Forward-declare struct p...



details:   https://anonhg.NetBSD.org/src/rev/a7477c250a0d
branches:  trunk
changeset: 365756:a7477c250a0d
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 06:37:53 2018 +0000

description:
Forward-declare struct pci_driver, which is unused but appears in prototypes.

diffstat:

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

diffs (18 lines):

diff -r e542226a9308 -r a7477c250a0d sys/external/bsd/drm2/include/linux/pci.h
--- a/sys/external/bsd/drm2/include/linux/pci.h Mon Aug 27 06:37:41 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/pci.h Mon Aug 27 06:37:53 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci.h,v 1.24 2017/08/31 23:47:50 maya Exp $    */
+/*     $NetBSD: pci.h,v 1.25 2018/08/27 06:37:53 riastradh Exp $       */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -65,6 +65,8 @@
 #include <linux/ioport.h>
 #include <linux/kernel.h>
 
+struct pci_driver;
+
 struct pci_bus {
        u_int           number;
 };



Home | Main Index | Thread Index | Old Index