• Paul Gortmaker's avatar
    reset: meson: make it explicitly non-modular · 8290924e
    Paul Gortmaker authored
    The Kconfig currently controlling compilation of this code is:
    arch/arm/mach-meson/Kconfig:menuconfig ARCH_MESON
    arch/arm/mach-meson/Kconfig:    bool "Amlogic Meson SoCs"
    arch/arm64/Kconfig.platforms:config ARCH_MESON
    arch/arm64/Kconfig.platforms:   bool "Amlogic Platforms"
    ...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_platform_driver() uses the same init level priority as
    builtin_platform_driver() 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: Carlo Caione <carlo@caione.org>
    Cc: Kevin Hilman <khilman@baylibre.com>
    Cc: linux-amlogic@lists.infradead.org
    Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    Acked-by: Neil Armstrong's avatarNeil Armstrong <narmstrong@baylibre.com>
    Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
reset-meson.c 4.4 KB