• Paul Gortmaker's avatar
    iommu/mediatek: Make it explicitly non-modular · d4cf5bbd
    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 was not even used by this driver, the init ordering
    remains unchanged with this commit.
    
    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: Joerg Roedel <joro@8bytes.org>
    Cc: Matthias Brugger <matthias.bgg@gmail.com>
    Cc: Honghui Zhang <honghui.zhang@mediatek.com>
    Cc: iommu@lists.linux-foundation.org
    Cc: linux-mediatek@lists.infradead.org
    Acked-by: default avatarHonghui Zhang <honghui.zhang@mediatek.com>
    Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
    d4cf5bbd
mtk_iommu_v1.c 18.7 KB