PCI/portdrv: Move private things to portdrv.c
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 19 Oct 2022 20:41:26 +0000 (15:41 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 24 Oct 2022 19:57:30 +0000 (14:57 -0500)
commit29f193feeea3e3af1c4650870f08ca896b83e1db
tree425aa9aa5738a11b4fd79a80e712f123e41f2425
parenta1ccd3d911382f68753033c6adcf69663c2a9fc5
PCI/portdrv: Move private things to portdrv.c

Previously several things used by portdrv_core.c and portdrv_pci.c were
shared by defining them in portdrv.h.  Now that portdrv_core.c and
portdrv_pci.c have been squashed, move things that can be private into
portdrv.c.  No functional change intended.

Link: https://lore.kernel.org/r/20221019204127.44463-3-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
drivers/pci/pcie/portdrv.c
drivers/pci/pcie/portdrv.h