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 Stub pci_is_root_bus.



details:   https://anonhg.NetBSD.org/src/rev/56c4fceecf6d
branches:  trunk
changeset: 992468:56c4fceecf6d
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 06:40:43 2018 +0000

description:
Stub pci_is_root_bus.

diffstat:

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

diffs (22 lines):

diff -r 07ca7bc8346e -r 56c4fceecf6d sys/external/bsd/drm2/include/linux/pci.h
--- a/sys/external/bsd/drm2/include/linux/pci.h Mon Aug 27 06:40:32 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/pci.h Mon Aug 27 06:40:43 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci.h,v 1.25 2018/08/27 06:37:53 riastradh Exp $       */
+/*     $NetBSD: pci.h,v 1.26 2018/08/27 06:40:43 riastradh Exp $       */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -718,4 +718,12 @@
                return true;
 }
 
+static inline bool
+pci_is_root_bus(struct pci_bus *bus)
+{
+
+       /* XXX Cop-out. */
+       return false;
+}
+
 #endif  /* _LINUX_PCI_H_ */



Home | Main Index | Thread Index | Old Index