diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2019-02-11 16:27:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-16 08:22:03 +0200 |
commit | 71f71910546204a57c220eaecbfeec4303a3383b (patch) | |
tree | ba556948ba2b5396d2f4acd2f857748594b5be0a /drivers/crypto | |
parent | 72eec6b303f47b05b79dddb00f58c8dc4e7a042b (diff) | |
download | linux-stable-71f71910546204a57c220eaecbfeec4303a3383b.tar.gz linux-stable-71f71910546204a57c220eaecbfeec4303a3383b.tar.bz2 linux-stable-71f71910546204a57c220eaecbfeec4303a3383b.zip |
crypto: ccree - add missing inline qualifier
[ Upstream commit f1071c3e2473ae19a7f5d892a187c4cab1a61f2e ]
Commit 1358c13a48c4 ("crypto: ccree - fix resume race condition on init")
was missing a "inline" qualifier for stub function used when CONFIG_PM
is not set causing a build warning.
Fixes: 1358c13a48c4 ("crypto: ccree - fix resume race condition on init")
Cc: stable@kernel.org # v4.20
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/ccree/cc_pm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/ccree/cc_pm.h b/drivers/crypto/ccree/cc_pm.h index f62624357020..907a6db4d6c0 100644 --- a/drivers/crypto/ccree/cc_pm.h +++ b/drivers/crypto/ccree/cc_pm.h @@ -30,7 +30,7 @@ static inline int cc_pm_init(struct cc_drvdata *drvdata) return 0; } -static void cc_pm_go(struct cc_drvdata *drvdata) {} +static inline void cc_pm_go(struct cc_drvdata *drvdata) {} static inline void cc_pm_fini(struct cc_drvdata *drvdata) {} |