[PATCH 7/7] ARM: i.MX: karo-tx6: add pr_fmt

Sascha Hauer s.hauer at pengutronix.de
Wed Mar 2 08:07:43 PST 2016


Add pr_fmt to print tx6 specific messages with a proper prefix.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/boards/karo-tx6x/board.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boards/karo-tx6x/board.c b/arch/arm/boards/karo-tx6x/board.c
index 6cb4689..31c1c3a 100644
--- a/arch/arm/boards/karo-tx6x/board.c
+++ b/arch/arm/boards/karo-tx6x/board.c
@@ -16,6 +16,8 @@
  * GNU General Public License for more details.
  */
 
+#define pr_fmt(fmt) "Karo-tx6: " fmt
+
 #include <common.h>
 #include <gpio.h>
 #include <init.h>
-- 
2.7.0




More information about the barebox mailing list