X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lspci.h;h=c5a9ec726871770cbeb23206a2530c63610997a1;hb=b6e558fb75b6e46b9a10d2b1e5c10c346b412331;hp=62d8e927adb1ac06fa804ba7bfed5b4a92abff6b;hpb=832b07a87c87f02cf17d748c075a84fc3a9b7afd;p=pciutils.git diff --git a/lspci.h b/lspci.h index 62d8e92..c5a9ec7 100644 --- a/lspci.h +++ b/lspci.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2018 Martin Mares * - * 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 @@ -88,7 +90,7 @@ void show_kernel_cleanup(void); struct bridge { struct bridge *chain; /* Single-linked list of bridges */ - struct bridge *next, *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 */