Signed-off-by: Jean-Christophe Dubois <j...@tribudubois.net> --- 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