Skip to content

Commit 3932aa1

Browse files
bjdooks-ctherbertx
authored andcommitted
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: Ben Dooks (Codethink) <ben.dooks@codethink.co.uk> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 20aaed2 commit 3932aa1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/crypto/allwinner/sun4i-ss/sun4i-ss-core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ static int sun4i_ss_pm_resume(struct device *dev)
282282
return err;
283283
}
284284

285-
const struct dev_pm_ops sun4i_ss_pm_ops = {
285+
static const struct dev_pm_ops sun4i_ss_pm_ops = {
286286
SET_RUNTIME_PM_OPS(sun4i_ss_pm_suspend, sun4i_ss_pm_resume, NULL)
287287
};
288288

0 commit comments

Comments
 (0)