qemu-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]