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/9d729308e971
branches:  trunk
changeset: 992455:9d729308e971
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 f0bda1587dd1 -r 9d729308e971 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