PCI: tegra: Make explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 2 Jul 2016 23:13:31 +0000 (19:13 -0400)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Aug 2016 17:22:51 +0000 (12:22 -0500)
commitad183271560ae765615b704b538224fed2a7c07a
tree3f38c0ef7a0f2a47a4cbd3a0e008ec3c21cf4ef1
parent0b9c158925b241eb2481640bdbb450af674c3177
PCI: tegra: Make explicitly non-modular

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

  drivers/pci/host/Kconfig:config PCI_TEGRA
  drivers/pci/host/Kconfig:       bool "NVIDIA Tegra 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: Thierry Reding <thierry.reding@gmail.com>
CC: Stephen Warren <swarren@wwwdotorg.org>
CC: Alexandre Courbot <gnurou@gmail.com>
CC: linux-tegra@vger.kernel.org
drivers/pci/host/pci-tegra.c