• Paul Gortmaker's avatar
    PCI: portdrv: Make explicitly non-modular · a7dadf45
    Paul Gortmaker authored
    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: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
    CC: Tom Long Nguyen <tom.l.nguyen@intel.com>
    a7dadf45
portdrv_pci.c 9.91 KB