summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRouven Czerwinski <r.czerwinski@pengutronix.de>2021-06-18 14:05:58 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-06-21 06:38:21 +0200
commit589f4236c53e299f735aecee472e01a49e26f0d1 (patch)
treef4f37a37e11cc4c1d3f77261f443f4cd67edd070
parent726a802456bc200698cf921763cc27668eb3b649 (diff)
downloadbarebox-589f4236c53e299f735aecee472e01a49e26f0d1.tar.gz
barebox-589f4236c53e299f735aecee472e01a49e26f0d1.tar.xz
common: bbu: add pr_fmt
This makes it easier to identify where messages are coming from. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Link: https://lore.barebox.org/20210618120557.2192098-2-r.czerwinski@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--common/bbu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/bbu.c b/common/bbu.c
index b6a0e623e2..cd7bdc40b7 100644
--- a/common/bbu.c
+++ b/common/bbu.c
@@ -4,6 +4,9 @@
*
* Copyright (c) 2012 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
*/
+
+#define pr_fmt(fmt) "bbu: " fmt
+
#include <common.h>
#include <bbu.h>
#include <linux/list.h>