Thread (5 messages) 5 messages, 2 authors, 2021-05-31

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

From: Sascha Hauer <hidden>
Date: 2021-05-31 07:22:19

On Fri, May 28, 2021 at 03:30:38PM +0200, Lucas Stach wrote:
From: David Jander <redacted>

Signed-off-by: David Jander <redacted>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 drivers/mci/imx-esdhc-common.c | 2 ++
 1 file changed, 2 insertions(+)
Applied, thanks

Sascha
quoted hunk ↗ jump to hunk
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@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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help