[PATCH 0/9] PCI: final demodularization of non-modular code

From: Paul Gortmaker
Date: Wed Aug 24 2016 - 16:58:40 EST


This final (assuming more new instances don't leak back in) series
ensures all the PCI code out there that remains using module.h is
actually modular or containing some use of modular infrastructure.

These last commits are slightly more involved than some of the
earlier ones since we are actually removing orphaned __exit functions
and some ".remove" functions as well. So we can't claim binary
equivalence here, but the overall runtime should remain unchanged.

To that end, we have remained with the existing initcall levels
even though some of the hotplug infrastructural ones might make
better sense to be listed as subsys_initcall or similar.

Build tested with allmodconfig on all the major architectures.

Paul.
---

Cc: Bharat Kumar Gogada <bharat.kumar.gogada@xxxxxxxxxx>
Cc: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
Cc: Keith Busch <keith.busch@xxxxxxxxx>
Cc: Kishon Vijay Abraham I <kishon@xxxxxx>
Cc: kristen.c.accardi@xxxxxxxxx
Cc: Marc Zyngier <marc.zyngier@xxxxxxx>
Cc: Michal Simek <michal.simek@xxxxxxxxxx>
Cc: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
Cc: Scott Murray <scott@xxxxxxxxxxxx>
Cc: "SÃren Brinkmann" <soren.brinkmann@xxxxxxxxxx>
Cc: Stanimir Varbanov <svarbanov@xxxxxxxxxx>
Cc: Tom Long Nguyen <tom.l.nguyen@xxxxxxxxx>
Cc: linux-omap@xxxxxxxxxxxxxxx
Cc: linux-pci@xxxxxxxxxxxxxxx

Paul Gortmaker (9):
PCI: PCIe dpc: make it explicitly non-modular
PCI: PCIe pme: make it explicitly non-modular
PCI: PCIe aerdrv: make it explicitly non-modular
PCI: dra7xx: make host code explicitly non-modular
PCI: PCIe qcom: make host code explicitly non-modular
PCI: PCIe xilinx: make host code explicitly non-modular
PCI: PCIe xilinx-nwl: make host code explicitly non-modular
PCI: hotplug_core: make it explicitly non-modular
PCI: hotplug: make PCIe core code explicitly non-modular

drivers/pci/host/pci-dra7xx.c | 31 ++-----------------
drivers/pci/host/pcie-qcom.c | 28 +++++------------
drivers/pci/host/pcie-xilinx-nwl.c | 53 ++-------------------------------
drivers/pci/host/pcie-xilinx.c | 53 ++-------------------------------
drivers/pci/hotplug/cpci_hotplug.h | 2 --
drivers/pci/hotplug/cpci_hotplug_core.c | 10 -------
drivers/pci/hotplug/pci_hotplug_core.c | 18 ++++-------
drivers/pci/hotplug/pciehp_core.c | 20 ++++---------
drivers/pci/pcie/aer/aerdrv.c | 18 +----------
drivers/pci/pcie/pcie-dpc.c | 18 +++--------
drivers/pci/pcie/pme.c | 16 +---------
11 files changed, 32 insertions(+), 235 deletions(-)

--
2.8.4