Commit 3932aa1c authored by Ben Dooks (Codethink)'s avatar Ben Dooks (Codethink) Committed by Herbert Xu

crypto: sun4i-ss - make unexported sun4i_ss_pm_ops static

The sun4i_ss_pm_ops is not referenced outside the driver
except via a pointer, so make it static to avoid the following
warning:

drivers/crypto/allwinner/sun4i-ss/sun4i-ss-core.c:276:25: warning: symbol 'sun4i_ss_pm_ops' was not declared. Should it be static?
Signed-off-by: default avatarBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 20aaed22
......@@ -282,7 +282,7 @@ static int sun4i_ss_pm_resume(struct device *dev)
return err;
}
const struct dev_pm_ops sun4i_ss_pm_ops = {
static const struct dev_pm_ops sun4i_ss_pm_ops = {
SET_RUNTIME_PM_OPS(sun4i_ss_pm_suspend, sun4i_ss_pm_resume, NULL)
};
......
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