diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-01-05 11:18:02 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-05 12:54:16 (GMT) |
commit | 39aac64812da70f0af262f4700e67637338cbb3b (patch) | |
tree | d4b95c90675d009a5af67d4292f948fbe43fffc7 /kernel/sched.c | |
parent | 5359c32eb7402124abc9964d5d53639fe0739cea (diff) | |
download | linux-fsl-qoriq-39aac64812da70f0af262f4700e67637338cbb3b.tar.xz |
sched: mark sched_create_sysfs_power_savings_entries() as __init
Impact: cleanup
The only caller is cpu_dev_init() which is marked as __init.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 545c6fc..9a8e296 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -8060,7 +8060,7 @@ static SYSDEV_CLASS_ATTR(sched_smt_power_savings, 0644, sched_smt_power_savings_store); #endif -int sched_create_sysfs_power_savings_entries(struct sysdev_class *cls) +int __init sched_create_sysfs_power_savings_entries(struct sysdev_class *cls) { int err = 0; |