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

Lucas Stach l.stach at pengutronix.de
Fri May 28 06:30:38 PDT 2021


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(+)

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




More information about the barebox mailing list