• Paul Gortmaker's avatar
    iommu/qcom: Make it explicitly non-modular · f295cf26
    Paul Gortmaker authored
    The Kconfig currently controlling compilation of this code is:
    
    drivers/iommu/Kconfig:config MTK_IOMMU_V1
    drivers/iommu/Kconfig:  bool "MTK IOMMU Version 1 (M4U gen1) Support"
    
    ...meaning that it currently is not being built as a module by anyone.
    
    Lets remove the modular code that is essentially orphaned, so that
    when reading the driver there is no doubt it is builtin-only.
    
    Since module_init just becomes device_initcall for non-modules, the
    init ordering remains unchanged with this commit.
    
    Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
    
    We also delete the MODULE_LICENSE tag etc. since all that information
    was (or is now) contained at the top of the file in the comments.
    
    Cc: Rob Clark <robdclark@gmail.com>
    Cc: Joerg Roedel <joro@8bytes.org>
    Cc: iommu@lists.linux-foundation.org
    Cc: linux-arm-msm@vger.kernel.org
    Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
    f295cf26
qcom_iommu.c 23.4 KB