summaryrefslogtreecommitdiff
path: root/drivers/pci/pcie/Makefile
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2022-10-19 15:41:25 -0500
committerBjorn Helgaas <bhelgaas@google.com>2022-10-24 14:57:30 -0500
commita1ccd3d911382f68753033c6adcf69663c2a9fc5 (patch)
tree31b44d0506a75ca39b77694e02bac37c592a94e2 /drivers/pci/pcie/Makefile
parent9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff)
PCI/portdrv: Squash into portdrv.c
Squash portdrv_core.c and portdrv_pci.c into portdrv.c to make it easier to find things. The whole thing is less than 1000 lines, and it's a pain to bounce back and forth between two files. Several portdrv_core.c functions were non-static because they were referenced from portdrv_pci.c. Make them static since they're now all in portdrv.c. No functional change intended. Link: https://lore.kernel.org/r/20221019204127.44463-2-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>
Diffstat (limited to 'drivers/pci/pcie/Makefile')
-rw-r--r--drivers/pci/pcie/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pcie/Makefile b/drivers/pci/pcie/Makefile
index 5783a2f79e6a..8de4ed5f98f1 100644
--- a/drivers/pci/pcie/Makefile
+++ b/drivers/pci/pcie/Makefile
@@ -2,7 +2,7 @@
#
# Makefile for PCI Express features and port driver
-pcieportdrv-y := portdrv_core.o portdrv_pci.o rcec.o
+pcieportdrv-y := portdrv.o rcec.o
obj-$(CONFIG_PCIEPORTBUS) += pcieportdrv.o