Skip to content

Commit f1071c3

Browse files
Gilad Ben-Yossefherbertx
authored andcommitted
crypto: ccree - add missing inline qualifier
Commit 1358c13 ("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: 1358c13 ("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>
1 parent 1358c13 commit f1071c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/crypto/ccree/cc_pm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static inline int cc_pm_init(struct cc_drvdata *drvdata)
3030
return 0;
3131
}
3232

33-
static void cc_pm_go(struct cc_drvdata *drvdata) {}
33+
static inline void cc_pm_go(struct cc_drvdata *drvdata) {}
3434

3535
static inline void cc_pm_fini(struct cc_drvdata *drvdata) {}
3636

0 commit comments

Comments
 (0)