forked from Minki/linux
2722090af4
Historically a lot of these existed because we did not have a distinction between what was modular code and what was providing support to modules via EXPORT_SYMBOL and friends. That changed when we forked out support for the latter into the export.h file. This means we should be able to reduce the usage of module.h in code that is obj-y Makefile or bool Kconfig. The advantage in doing so is that module.h itself sources about 15 other headers; adding significantly to what we feed cpp, and it can obscure what headers we are effectively using. Since module.h was the source for init.h (for __init) and for export.h (for EXPORT_SYMBOL) we consider each obj-y/bool instance for the presence of either and replace as needed. We also needed to remove the no-op MODULE_DEVICE_TABLE usage in several instances to permit removal of the module.h include. The files in these instances were all controlled by bool Kconfig. In one instance, module_param was being used so we transition the module.h include onto a moduleparam.h include. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/14035/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org> |
||
---|---|---|
.. | ||
fixup-bcm63xx.c | ||
fixup-capcella.c | ||
fixup-cobalt.c | ||
fixup-emma2rh.c | ||
fixup-fuloong2e.c | ||
fixup-ip32.c | ||
fixup-jmr3927.c | ||
fixup-lantiq.c | ||
fixup-lemote2f.c | ||
fixup-loongson3.c | ||
fixup-malta.c | ||
fixup-mpc30x.c | ||
fixup-pmcmsp.c | ||
fixup-rbtx4927.c | ||
fixup-rbtx4938.c | ||
fixup-rc32434.c | ||
fixup-sb1250.c | ||
fixup-sni.c | ||
fixup-tb0219.c | ||
fixup-tb0226.c | ||
fixup-tb0287.c | ||
Makefile | ||
msi-octeon.c | ||
msi-xlp.c | ||
ops-bcm63xx.c | ||
ops-bonito64.c | ||
ops-bridge.c | ||
ops-emma2rh.c | ||
ops-gt64xxx_pci0.c | ||
ops-lantiq.c | ||
ops-loongson2.c | ||
ops-loongson3.c | ||
ops-mace.c | ||
ops-msc.c | ||
ops-nile4.c | ||
ops-pmcmsp.c | ||
ops-rc32434.c | ||
ops-sni.c | ||
ops-tx3927.c | ||
ops-tx4927.c | ||
ops-vr41xx.c | ||
pci-alchemy.c | ||
pci-ar71xx.c | ||
pci-ar724x.c | ||
pci-ar2315.c | ||
pci-bcm47xx.c | ||
pci-bcm63xx.c | ||
pci-bcm63xx.h | ||
pci-bcm1480.c | ||
pci-bcm1480ht.c | ||
pci-emma2rh.c | ||
pci-ip27.c | ||
pci-ip32.c | ||
pci-lantiq.c | ||
pci-lantiq.h | ||
pci-lasat.c | ||
pci-malta.c | ||
pci-mt7620.c | ||
pci-octeon.c | ||
pci-rc32434.c | ||
pci-rt2880.c | ||
pci-rt3883.c | ||
pci-sb1250.c | ||
pci-tx4927.c | ||
pci-tx4938.c | ||
pci-tx4939.c | ||
pci-virtio-guest.c | ||
pci-vr41xx.c | ||
pci-vr41xx.h | ||
pci-xlp.c | ||
pci-xlr.c | ||
pci.c | ||
pcie-octeon.c |