• P
    PCI: mvebu: Make explicitly non-modular · 82641d9b
    Paul Gortmaker 提交于
    This code is not being built as a module by anyone:
    
      drivers/pci/host/Kconfig:config PCI_MVEBU
      drivers/pci/host/Kconfig:       bool "Marvell EBU 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, remove "Module" from author comment]
    Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
    Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
    Reviewed-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
    CC: Jason Cooper <jason@lakedaemon.net>
    82641d9b
pci-mvebu.c 32.6 KB