From: Paul Gortmaker Date: Sun, 13 Dec 2015 23:57:12 +0000 (-0500) Subject: drivers/cpuidle: make cpuidle-exynos.c explicitly non-modular X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=84599238ea78d98136fc6f6239a14083128ecf8b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drivers/cpuidle: make cpuidle-exynos.c explicitly non-modular The Kconfig currently controlling compilation of this code is: cpuidle/Kconfig.arm:config ARM_EXYNOS_CPUIDLE cpuidle/Kconfig.arm: bool "Cpu Idle Driver for the Exynos processors" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modularity 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. Acked-by: Daniel Lezcano Signed-off-by: Paul Gortmaker Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/cpuidle/cpuidle-exynos.c b/drivers/cpuidle/cpuidle-exynos.c index b5f0a9cc8185..00cd129b10a4 100644 --- a/drivers/cpuidle/cpuidle-exynos.c +++ b/drivers/cpuidle/cpuidle-exynos.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include #include @@ -142,5 +142,4 @@ static struct platform_driver exynos_cpuidle_driver = { .name = "exynos_cpuidle", }, }; - -module_platform_driver(exynos_cpuidle_driver); +builtin_platform_driver(exynos_cpuidle_driver);