mfd: rk808: Make PM function declaration static
authorLee Jones <lee.jones@linaro.org>
Tue, 27 Aug 2019 06:39:50 +0000 (07:39 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 27 Aug 2019 12:33:21 +0000 (13:33 +0100)
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>
drivers/mfd/rk808.c

index 9a9e6315ba4631d1b2a8d1848483e8c9ea54b2c9..050478cabc95d045f3a42880353954e2a296a861 100644 (file)
@@ -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 = {