[PATCH] fixup! pbl: export pbl_barebox_verify
Sascha Hauer
sha at pengutronix.de
Mon Aug 22 01:52:34 PDT 2022
On Sun, Aug 21, 2022 at 03:28:58PM +0200, Ahmad Fatoum wrote:
> 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 at gmail.com>
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
> include/digest.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
Sascha
>
> 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
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list