[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/8] i.MX: Standardize i.MX GPIO debug
From: |
Jean-Christophe Dubois |
Subject: |
[Qemu-devel] [PATCH 2/8] i.MX: Standardize i.MX GPIO debug |
Date: |
Tue, 20 Oct 2015 23:19:55 +0200 |
Signed-off-by: Jean-Christophe Dubois <address@hidden>
---
hw/gpio/imx_gpio.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/gpio/imx_gpio.c b/hw/gpio/imx_gpio.c
index d56ffcd..db6f22c 100644
--- a/hw/gpio/imx_gpio.c
+++ b/hw/gpio/imx_gpio.c
@@ -31,7 +31,8 @@ typedef enum IMXGPIOLevel {
#define DPRINTF(fmt, args...) \
do { \
if (DEBUG_IMX_GPIO) { \
- fprintf(stderr, "%s: " fmt , __func__, ##args); \
+ fprintf(stderr, "[%s]%s: " fmt , TYPE_IMX_GPIO, \
+ __func__, ##args); \
} \
} while (0)
--
2.1.4
- [Qemu-devel] [PATCH 0/8] i.MX: Standardize debug code, Jean-Christophe Dubois, 2015/10/20
- [Qemu-devel] [PATCH 1/8] i.MX: Standardize i.MX serial debug., Jean-Christophe Dubois, 2015/10/20
- [Qemu-devel] [PATCH 2/8] i.MX: Standardize i.MX GPIO debug,
Jean-Christophe Dubois <=
- [Qemu-devel] [PATCH 3/8] i.MX: Standardize i.MX I2C debug, Jean-Christophe Dubois, 2015/10/20
- [Qemu-devel] [PATCH 4/8] i.MX: Standardize i.MX AVIC debug, Jean-Christophe Dubois, 2015/10/20
- [Qemu-devel] [PATCH 5/8] i.MX: Standardize i.MX CCM debug, Jean-Christophe Dubois, 2015/10/20
- [Qemu-devel] [PATCH 7/8] i.MX: Standardize i.MX EPIT debug, Jean-Christophe Dubois, 2015/10/20
- [Qemu-devel] [PATCH 8/8] i.MX: Standardize i.MX GPT debug, Jean-Christophe Dubois, 2015/10/20
- [Qemu-devel] [PATCH 6/8] i.MX: Standardize i.MX FEC debug, Jean-Christophe Dubois, 2015/10/20
- Re: [Qemu-devel] [PATCH 0/8] i.MX: Standardize debug code, Peter Crosthwaite, 2015/10/20