diff options
author | Lee Jones <lee.jones@linaro.org> | 2019-08-27 07:39:50 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2019-08-27 13:33:21 +0100 |
commit | 4d82fa67dd6b0e2635ae9dad44fbf3d747eca9ed (patch) | |
tree | 30b31eb59140936857c9fef1bf698c6ae662c10a /drivers/mfd/rk808.c | |
parent | 5752bc4373b21c3fb1dd6db4dcdd569fae391a1d (diff) |
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: 5752bc4373b2 ("mfd: rk808: Mark pm functions __maybe_unused")
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/rk808.c')
-rw-r--r-- | drivers/mfd/rk808.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c index 9a9e6315ba46..050478cabc95 100644 --- a/drivers/mfd/rk808.c +++ b/drivers/mfd/rk808.c @@ -768,7 +768,7 @@ static int __maybe_unused rk8xx_resume(struct device *dev) 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 = { .driver = { |