[PATCH v2 1/4] drivers: mci: imx-esdhc-common.c: Add missing dev_dbg define for pbl case

Sascha Hauer sha at pengutronix.de
Mon May 31 00:20:57 PDT 2021


On Fri, May 28, 2021 at 03:30:38PM +0200, Lucas Stach wrote:
> From: David Jander <david at protonic.nl>
> 
> Signed-off-by: David Jander <david at protonic.nl>
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
> ---
>  drivers/mci/imx-esdhc-common.c | 2 ++
>  1 file changed, 2 insertions(+)

Applied, thanks

Sascha

> 
> diff --git a/drivers/mci/imx-esdhc-common.c b/drivers/mci/imx-esdhc-common.c
> index c9d589468f6c..7ee0674b997f 100644
> --- a/drivers/mci/imx-esdhc-common.c
> +++ b/drivers/mci/imx-esdhc-common.c
> @@ -156,7 +156,9 @@ static void __udelay(int us)
>  
>  #define udelay(n)	__udelay(n)
>  #undef  dev_err
> +#undef  dev_dbg
>  #define dev_err(d, ...)	pr_err(__VA_ARGS__)
> +#define dev_dbg(d, ...)	pr_debug(__VA_ARGS__)
>  
>  #endif
>  
> -- 
> 2.29.2
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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