diff options
| author | Deepthi Dharwar <deepthi@linux.vnet.ibm.com> | 2014-01-14 05:56:18 -0500 |
|---|---|---|
| committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-01-29 01:02:23 -0500 |
| commit | 12431c64979bcda4786437f2a83aa0afc8bfc9da (patch) | |
| tree | d5f9298fff30f6d120a1ff41f426e130a0466cea | |
| parent | b69dbba059d9048b9909ed9898086dd3fbe22be7 (diff) | |
powerpc/pseries/cpuidle: Make cpuidle-pseries backend driver a non-module.
Currently cpuidle-pseries backend driver cannot be
built as a module due to dependencies wrt cpuidle framework.
This patch removes all the module related code in the driver.
Signed-off-by: Deepthi Dharwar <deepthi@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
| -rw-r--r-- | drivers/cpuidle/cpuidle-pseries.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/cpuidle/cpuidle-pseries.c b/drivers/cpuidle/cpuidle-pseries.c index 32d86bc5d3f7..5e13f6ce2271 100644 --- a/drivers/cpuidle/cpuidle-pseries.c +++ b/drivers/cpuidle/cpuidle-pseries.c | |||
| @@ -289,17 +289,4 @@ static int __init pseries_processor_idle_init(void) | |||
| 289 | return 0; | 289 | return 0; |
| 290 | } | 290 | } |
| 291 | 291 | ||
| 292 | static void __exit pseries_processor_idle_exit(void) | 292 | device_initcall(pseries_processor_idle_init); |
| 293 | { | ||
| 294 | |||
| 295 | unregister_cpu_notifier(&setup_hotplug_notifier); | ||
| 296 | cpuidle_unregister(&pseries_idle_driver); | ||
| 297 | return; | ||
| 298 | } | ||
| 299 | |||
| 300 | module_init(pseries_processor_idle_init); | ||
| 301 | module_exit(pseries_processor_idle_exit); | ||
| 302 | |||
| 303 | MODULE_AUTHOR("Deepthi Dharwar <deepthi@linux.vnet.ibm.com>"); | ||
| 304 | MODULE_DESCRIPTION("Cpuidle driver for POWER"); | ||
| 305 | MODULE_LICENSE("GPL"); | ||
