Commit 4d82fa67 authored by Lee Jones's avatar Lee Jones

mfd: rk808: Make PM function declaration static

Avoids:
  ../drivers/mfd/rk808.c:771:1: warning: symbol 'rk8xx_pm_ops' \
    was not declared. Should it be static?

Fixes: 5752bc43 ("mfd: rk808: Mark pm functions __maybe_unused")
Reviewed-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 5752bc43
...@@ -768,7 +768,7 @@ static int __maybe_unused rk8xx_resume(struct device *dev) ...@@ -768,7 +768,7 @@ static int __maybe_unused rk8xx_resume(struct device *dev)
return ret; return ret;
} }
SIMPLE_DEV_PM_OPS(rk8xx_pm_ops, rk8xx_suspend, rk8xx_resume); static SIMPLE_DEV_PM_OPS(rk8xx_pm_ops, rk8xx_suspend, rk8xx_resume);
static struct i2c_driver rk808_i2c_driver = { static struct i2c_driver rk808_i2c_driver = {
.driver = { .driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment