summaryrefslogtreecommitdiff
path: root/lspci.h
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2023-04-22 11:48:55 +0200
committerPali Rohár <pali@kernel.org>2023-04-29 14:28:09 +0200
commit6662052f2343710a829ab659608df27994edabb8 (patch)
tree230a9beb3c50e01f94669bc4d0fe7c48843d11a2 /lspci.h
parent7eb8744984a8b7ed52d35a291ff5ed6373e93499 (diff)
downloadpciutils-6662052f2343710a829ab659608df27994edabb8.tar.gz
ls-tree: Print PCI domains in ascending order
Diffstat (limited to 'lspci.h')
-rw-r--r--lspci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lspci.h b/lspci.h
index d6a27a2..160c65a 100644
--- a/lspci.h
+++ b/lspci.h
@@ -88,7 +88,7 @@ void show_kernel_cleanup(void);
struct bridge {
struct bridge *chain; /* Single-linked list of bridges */
- struct bridge *prev, *child; /* Tree of bridges */
+ struct bridge *next, *prev, *child; /* Tree of bridges */
struct bus *first_bus, *last_bus; /* List of buses connected to this bridge */
unsigned int domain;
unsigned int primary, secondary, subordinate; /* Bus numbers */