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/8ddcd1ea304c
branches:  trunk
changeset: 365769:8ddcd1ea304c
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 d4417a576012 -r 8ddcd1ea304c 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