mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
staging/ccree: Declare compiled out functions static inline
Sparse was giving out a warning for symbols 'cc_set_ree_fips_status' and 'fips_handler' that they were not declared and need to be made static. This patch makes both the symbols static inline, to remove the warnings. Signed-off-by: Rishabh Hardas <rishabhhardas@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b7749656e9
commit
37ba0e399c
1 changed files with 2 additions and 2 deletions
|
|
@ -40,8 +40,8 @@ static inline int ssi_fips_init(struct ssi_drvdata *p_drvdata)
|
|||
}
|
||||
|
||||
static inline void ssi_fips_fini(struct ssi_drvdata *drvdata) {}
|
||||
void cc_set_ree_fips_status(struct ssi_drvdata *drvdata, bool ok) {}
|
||||
void fips_handler(struct ssi_drvdata *drvdata) {}
|
||||
static inline void cc_set_ree_fips_status(struct ssi_drvdata *drvdata, bool ok) {}
|
||||
static inline void fips_handler(struct ssi_drvdata *drvdata) {}
|
||||
|
||||
#endif /* CONFIG_CRYPTO_FIPS */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue