diff options
author | Xianglong Du <Xianglong.Du@csr.com> | 2014-02-14 08:45:13 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-02-15 13:08:44 -0800 |
commit | 3a80035bcbbaff1870a537b4ea57727290bded56 (patch) | |
tree | ae281b9ce505c4d78485d50525b981523bb3d351 /drivers/input/misc | |
parent | 5099817eaf1c5377059b703496e4d32769d0f2d7 (diff) | |
download | linux-3a80035bcbbaff1870a537b4ea57727290bded56.tar.bz2 |
Input: sirfsoc-onkey - fix namespace pwrc_resume function
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>
Diffstat (limited to 'drivers/input/misc')
-rw-r--r-- | drivers/input/misc/sirfsoc-onkey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/misc/sirfsoc-onkey.c b/drivers/input/misc/sirfsoc-onkey.c index 3b54cba650de..d5b4a7674b9a 100644 --- a/drivers/input/misc/sirfsoc-onkey.c +++ b/drivers/input/misc/sirfsoc-onkey.c @@ -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, |