]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
PCI: mvebu: Make explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 2 Jul 2016 23:13:28 +0000 (19:13 -0400)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Aug 2016 17:22:51 +0000 (12:22 -0500)
commit82641d9b18dcb1073b71141ec7b430c60ad31d0f
tree60f8e62a5354b415b7d0817217b5d3814ab88ce4
parent154fb6003891314db68a8a0426051ff2ea256531
PCI: mvebu: Make explicitly non-modular

This code is not being built as a module by anyone:

  drivers/pci/host/Kconfig:config PCI_MVEBU
  drivers/pci/host/Kconfig:       bool "Marvell EBU PCIe controller"

Remove uses of MODULE_DESCRIPTION(), MODULE_AUTHOR(), MODULE_LICENSE(),
etc., so that when reading the driver there is no doubt it is builtin-only.
The information is preserved in comments at the top of the file.

Replace module_platform_driver() with builtin_platform_driver(), which uses
the same init level priority, so init ordering is unchanged.

Note that MODULE_DEVICE_TABLE is a no-op for non-modular code.

[bhelgaas: changelog, remove "Module" from author comment]
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
CC: Jason Cooper <jason@lakedaemon.net>
drivers/pci/host/pci-mvebu.c