]> git.karo-electronics.de Git - linux-beck.git/commitdiff
cpuidle: kirkwood: Make kirkwood_cpuidle_remove function static
authorJingoo Han <jg1.han@samsung.com>
Fri, 9 Aug 2013 07:11:34 +0000 (16:11 +0900)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 12 Aug 2013 09:28:50 +0000 (11:28 +0200)
This local symbol is used only in this file.
Fix the following sparse warnings:

drivers/cpuidle/cpuidle-kirkwood.c:73:5: warning: symbol 'kirkwood_cpuidle_remove' was not declared. Should it be static ?

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/cpuidle/cpuidle-kirkwood.c

index 521b0a7fdd89930a358f5c6cba557620a3a35474..3ca3a2e694dd07658461ce9c45c160da72d2281b 100644 (file)
@@ -70,7 +70,7 @@ static int kirkwood_cpuidle_probe(struct platform_device *pdev)
        return cpuidle_register(&kirkwood_idle_driver, NULL);
 }
 
-int kirkwood_cpuidle_remove(struct platform_device *pdev)
+static int kirkwood_cpuidle_remove(struct platform_device *pdev)
 {
        cpuidle_unregister(&kirkwood_idle_driver);
        return 0;