sched: mark sched_create_sysfs_power_savings_entries() as __init
authorLi Zefan <lizf@cn.fujitsu.com>
Mon, 5 Jan 2009 11:18:02 +0000 (19:18 +0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Jan 2009 12:54:16 +0000 (13:54 +0100)
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>
kernel/sched.c

index 545c6fc..9a8e296 100644 (file)
@@ -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;