PCI: armada8k: Make explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 2 Jul 2016 23:13:21 +0000 (19:13 -0400)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Aug 2016 17:22:50 +0000 (12:22 -0500)
commit0e6f98cb6269c7f5810509fc965e09049060d675
tree9c52162a59b187f2169278305ef61e05a8fd5111
parent499e858e3113452e7fc3c75678e6ba2a52546dc5
PCI: armada8k: Make explicitly non-modular

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

  drivers/pci/host/Kconfig:config PCIE_ARMADA_8K
  drivers/pci/host/Kconfig:       bool "Marvell Armada-8K 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]
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
drivers/pci/host/pcie-armada8k.c