PCI: designware-plat: Make it explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 2 Jul 2016 23:13:23 +0000 (19:13 -0400)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Aug 2016 17:22:50 +0000 (12:22 -0500)
commitca8d3346c84c3ee6836e948007cba59b1484bef7
treef293af991e84475fb5fdfc11d19ef2f642dbf6cc
parent58bdaa1d38d1d7e8bc41f903ff0e83fedc58ccdc
PCI: designware-plat: Make it explicitly non-modular

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

  drivers/pci/host/Kconfig:config PCIE_DW_PLAT
  drivers/pci/host/Kconfig:       bool "Platform bus based DesignWare 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>
Acked-by: Joao Pinto <jpinto@synopsys.com>
CC: Jingoo Han <jingoohan1@gmail.com>
CC: Pratyush Anand <pratyush.anand@gmail.com>
drivers/pci/host/pcie-designware-plat.c