Input: sirfsoc-onkey - fix namespace pwrc_resume function
authorXianglong Du <Xianglong.Du@csr.com>
Fri, 14 Feb 2014 16:45:13 +0000 (08:45 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 15 Feb 2014 21:08:44 +0000 (13:08 -0800)
This function lost namespace, this patch fixes it.

Signed-off-by: Xianglong Du <Xianglong.Du@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/sirfsoc-onkey.c

index 3b54cba650de7b9e16dc8b2bb7d4adbb6ce426db..d5b4a7674b9af03aef6ca45c90824c52165e0776 100644 (file)
@@ -157,7 +157,7 @@ static int sirfsoc_pwrc_remove(struct platform_device *pdev)
 }
 
 #ifdef CONFIG_PM_SLEEP
-static int pwrc_resume(struct device *dev)
+static int sirfsoc_pwrc_resume(struct device *dev)
 {
        struct platform_device *pdev = to_platform_device(dev);
        struct sirfsoc_pwrc_drvdata *pwrcdrv = platform_get_drvdata(pdev);
@@ -176,7 +176,7 @@ static int pwrc_resume(struct device *dev)
 }
 #endif
 
-static SIMPLE_DEV_PM_OPS(sirfsoc_pwrc_pm_ops, NULL, pwrc_resume);
+static SIMPLE_DEV_PM_OPS(sirfsoc_pwrc_pm_ops, NULL, sirfsoc_pwrc_resume);
 
 static struct platform_driver sirfsoc_pwrc_driver = {
        .probe          = sirfsoc_pwrc_probe,