crypto: digest: always export functions for PBL We already build the digest functions for PBL, but the configuration may lack CONFIG_DIGEST, which leads to compile errors due to clashes between the static inline helpers and the actual definitions. Fix this. Reported-by: Antony Pavlov <antonynpavlov@xxxxxxxxx> Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- include/digest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/digest.h b/include/digest.h index e4a521696434..b984d57d778e 100644 --- a/include/digest.h +++ b/include/digest.h @@ -76,7 +76,7 @@ struct digest { /* * digest functions */ -#ifdef CONFIG_DIGEST +#if defined(CONFIG_DIGEST) || defined(__PBL__) int digest_algo_register(struct digest_algo *d); void digest_algo_unregister(struct digest_algo *d); void digest_algo_prints(const char *prefix); -- 2.30.2