*
* Copyright (c) 1997--2018 Martin Mares <mj@ucw.cz>
*
- * Can be freely distributed and used under the terms of the GNU GPL.
+ * Can be freely distributed and used under the terms of the GNU GPL v2+
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
*/
#define PCIUTILS_LSPCI
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 */