[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221019204127.44463-1-helgaas@kernel.org>
Date: Wed, 19 Oct 2022 15:41:24 -0500
From: Bjorn Helgaas <helgaas@...nel.org>
To: linux-pci@...r.kernel.org
Cc: Stefan Roese <sr@...x.de>, Lukas Wunner <lukas@...ner.de>,
Jan Kiszka <jan.kiszka@...mens.com>,
Stuart Hayes <stuart.w.hayes@...il.com>,
Keith Busch <kbusch@...nel.org>, linux-kernel@...r.kernel.org,
Bjorn Helgaas <bhelgaas@...gle.com>
Subject: [PATCH 0/3] PCI/portdrv: Squash into portdrv.c
From: Bjorn Helgaas <bhelgaas@...gle.com>
The PCIe portdrv is split across portdrv_core.c and portdrv_pci.c, but
neither is very big and it's a hassle to figure out which to look at.
Squash them into a single portdrv.c file. Make functions static and
non-exported when possible, and move some private things out of portdrv.h.
Please comment.
Bjorn Helgaas (3):
PCI/portdrv: Squash into portdrv.c
PCI/portdrv: Move private things to portdrv.c
PCI/portdrv: Unexport pcie_port_service_register(),
pcie_port_service_unregister()
drivers/pci/pcie/Makefile | 2 +-
.../pci/pcie/{portdrv_core.c => portdrv.c} | 263 +++++++++++++++++-
drivers/pci/pcie/portdrv.h | 19 --
drivers/pci/pcie/portdrv_pci.c | 252 -----------------
4 files changed, 253 insertions(+), 283 deletions(-)
rename drivers/pci/pcie/{portdrv_core.c => portdrv.c} (69%)
delete mode 100644 drivers/pci/pcie/portdrv_pci.c
--
2.25.1
Powered by blists - more mailing lists