PCI/DPC: Move DPC data into struct pci_dev
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 24 Mar 2020 00:26:01 +0000 (17:26 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 28 Mar 2020 17:10:24 +0000 (12:10 -0500)
commitbe06c1b42eea749547d2f0248dc0a7c1153f67b9
treeb5bbc7a1357309cf0a587afcc89908d9ced1dc96
parent6d2c89441571ea534d6240f7724f518936c44f8d
PCI/DPC: Move DPC data into struct pci_dev

We only need 25 bits of data for DPC, so I don't think it's worth the
complexity of allocating and keeping track of the struct dpc_dev separately
from the pci_dev.  Move that data into the struct pci_dev.

Link: https://lore.kernel.org/r/98323eaa18080adbe5bb30846862f09f8722d4b3.1585000084.git.sathyanarayanan.kuppuswamy@linux.intel.com
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/dpc.c
include/linux/pci.h