diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2015-12-13 18:57:11 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-12-14 18:22:22 -0500 |
commit | fdc7d515adc302030f7e4113959130bd8d123546 (patch) | |
tree | edd35901c7361dd451b3b0c62788678d30003be8 | |
parent | 94e8057b8420ca6eea90df76f8598639d0df26ec (diff) |
drivers/cpuidle: make cpuidle-ux500.c explicitly non-modular
The Kconfig currently controlling compilation of this code is:
cpuidle/Kconfig.arm:config ARM_U8500_CPUIDLE
cpuidle/Kconfig.arm: bool "Cpu Idle Driver for the ST-E u8500 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>
-rw-r--r-- | drivers/cpuidle/cpuidle-ux500.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/cpuidle/cpuidle-ux500.c b/drivers/cpuidle/cpuidle-ux500.c index 8bf895c0017d..7941a090bea6 100644 --- a/drivers/cpuidle/cpuidle-ux500.c +++ b/drivers/cpuidle/cpuidle-ux500.c | |||
@@ -9,7 +9,7 @@ | |||
9 | * published by the Free Software Foundation. | 9 | * published by the Free Software Foundation. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <linux/module.h> | 12 | #include <linux/init.h> |
13 | #include <linux/cpuidle.h> | 13 | #include <linux/cpuidle.h> |
14 | #include <linux/spinlock.h> | 14 | #include <linux/spinlock.h> |
15 | #include <linux/atomic.h> | 15 | #include <linux/atomic.h> |
@@ -124,5 +124,4 @@ static struct platform_driver dbx500_cpuidle_plat_driver = { | |||
124 | }, | 124 | }, |
125 | .probe = dbx500_cpuidle_probe, | 125 | .probe = dbx500_cpuidle_probe, |
126 | }; | 126 | }; |
127 | 127 | builtin_platform_driver(dbx500_cpuidle_plat_driver); | |
128 | module_platform_driver(dbx500_cpuidle_plat_driver); | ||