]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sun4i-ss - make unexported sun4i_ss_pm_ops static
authorBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
Tue, 17 Dec 2019 11:30:24 +0000 (11:30 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Dec 2019 10:18:03 +0000 (18:18 +0800)
commit5eac04b0d69ae9848b73a3ab4f595c8881c042b1
tree9ba2ca7c5d668cf3e84e639d4cb2a73006537eb2
parent04508ddae2b41af52aeea7edc916a42837d462b3
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>
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-core.c