diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2015-12-13 18:57:12 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-12-14 18:22:22 -0500 |
commit | 84599238ea78d98136fc6f6239a14083128ecf8b (patch) | |
tree | 024e48bb9dbdae815677f900c9c46f11d3707c22 /drivers/cpuidle | |
parent | fdc7d515adc302030f7e4113959130bd8d123546 (diff) |
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 <daniel.lezcano@linaro.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle')
-rw-r--r-- | drivers/cpuidle/cpuidle-exynos.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 @@ | |||
14 | #include <linux/cpuidle.h> | 14 | #include <linux/cpuidle.h> |
15 | #include <linux/cpu_pm.h> | 15 | #include <linux/cpu_pm.h> |
16 | #include <linux/export.h> | 16 | #include <linux/export.h> |
17 | #include <linux/module.h> | 17 | #include <linux/init.h> |
18 | #include <linux/platform_device.h> | 18 | #include <linux/platform_device.h> |
19 | #include <linux/of.h> | 19 | #include <linux/of.h> |
20 | #include <linux/platform_data/cpuidle-exynos.h> | 20 | #include <linux/platform_data/cpuidle-exynos.h> |
@@ -142,5 +142,4 @@ static struct platform_driver exynos_cpuidle_driver = { | |||
142 | .name = "exynos_cpuidle", | 142 | .name = "exynos_cpuidle", |
143 | }, | 143 | }, |
144 | }; | 144 | }; |
145 | 145 | builtin_platform_driver(exynos_cpuidle_driver); | |
146 | module_platform_driver(exynos_cpuidle_driver); | ||