[PATCH] fixup! pbl: export pbl_barebox_verify

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux