PCI: thunder-pem: Make explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 22 Jul 2016 21:24:49 +0000 (16:24 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Aug 2016 17:22:51 +0000 (12:22 -0500)
commit0b3cd1643790e3cf13dea709100c1627a4ec937e
tree979c3fc8a37e1c35810beb2b45ec2ce5c56f5de0
parentd0c6fd76dac4543dabe939f5320fd1ca3b907002
PCI: thunder-pem: Make explicitly non-modular

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

  drivers/pci/host/Kconfig:config PCI_HOST_THUNDER_PEM
  drivers/pci/host/Kconfig:       bool "Cavium Thunder PCIe controller to off-chip devices"

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: David Daney <david.daney@cavium.com>
drivers/pci/host/pci-thunder-pem.c