]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI: rcar-gen2: Make explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 2 Jul 2016 23:13:30 +0000 (19:13 -0400)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Aug 2016 17:22:51 +0000 (12:22 -0500)
commit0b9c158925b241eb2481640bdbb450af674c3177
treea17a13d0dbaa0901e6a604202fe64fed4d43a183
parent42d1071984fa15bba6d18cdc4ba7027fd2532ead
PCI: rcar-gen2: Make explicitly non-modular

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

  drivers/pci/host/Kconfig:config PCI_RCAR_GEN2
  drivers/pci/host/Kconfig:       bool "Renesas R-Car Gen2 Internal PCI 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>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Phil Edworthy <phil.edworthy@renesas.com>
CC: Valentine Barshak <valentine.barshak@cogentembedded.com>
drivers/pci/host/pci-rcar-gen2.c