• Paul Gortmaker's avatar
    PCI: layerscape: Make explicitly non-modular · 154fb600
    Paul Gortmaker authored
    This code is not being built as a module by anyone:
    
      drivers/pci/host/Kconfig:config PCI_LAYERSCAPE
      drivers/pci/host/Kconfig:       bool "Freescale Layerscape 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: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
    CC: Minghuan Lian <minghuan.Lian@freescale.com>
    CC: Mingkai Hu <mingkai.hu@freescale.com>
    CC: Roy Zang <tie-fei.zang@freescale.com>
    154fb600
pci-layerscape.c 6.4 KB