]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: portdrv: Make explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 22 Aug 2016 21:59:44 +0000 (17:59 -0400)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 23 Aug 2016 20:34:23 +0000 (15:34 -0500)
commit7ed1e623871ddcfa905dfe3f9a78e85a994e5125
tree916496497c30e54bdee14dc135d93a0b8ea9c600
parentcdcf197596ba5285290c9d5332e5eb5c5af7501e
PCI: portdrv: Make explicitly non-modular

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

  pcieportdrv-y               := portdrv_core.o portdrv_pci.o portdrv_bus.o
  obj-$(CONFIG_PCIEPORTBUS)   += pcieportdrv.o

  drivers/pci/pcie/Kconfig:config PCIEPORTBUS
  drivers/pci/pcie/Kconfig:  bool "PCI Express Port Bus support"

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.

Note that for non-modular code, MODULE_DEVICE_TABLE is a no-op and
module_init() translates to device_initcall().

[bhelgaas: changelog, remove unused DRIVER_* macros]
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Tom Long Nguyen <tom.l.nguyen@intel.com>
drivers/pci/pcie/portdrv_pci.c