PCI: Allow driver-specific data in host bridge
authorThierry Reding <treding@nvidia.com>
Fri, 25 Nov 2016 10:57:10 +0000 (11:57 +0100)
committerBjorn Helgaas <helgaas@kernel.org>
Wed, 7 Dec 2016 18:05:48 +0000 (12:05 -0600)
commit5909406598d9fab58be860b72dff9409bff11653
treeac32f861756ae7f87003e25b70f64932ba6665fc
parent37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4
PCI: Allow driver-specific data in host bridge

Provide a way to allocate driver-specific data along with a PCI host bridge
structure. The bridge's ->private field points to this data.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Bjorn Helgaas <helgaas@kernel.org>
drivers/pci/probe.c
include/linux/pci.h