From 325f034c4e4a595e1563ab67786ec582ede23b4c Mon Sep 17 00:00:00 2001
From: Adam Wujek <adam.wujek@cern.ch>
Date: Wed, 24 Aug 2016 14:56:13 +0200
Subject: [PATCH] userspace/libwr: remove dependency of util.c towards
 libwr/wrs-msg.h

Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
---
 userspace/libwr/util.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/userspace/libwr/util.c b/userspace/libwr/util.c
index 5af3ed55b..b31c389f6 100644
--- a/userspace/libwr/util.c
+++ b/userspace/libwr/util.c
@@ -2,7 +2,6 @@
 #include <unistd.h>
 #include <stdlib.h>
 
-#include <libwr/wrs-msg.h>
 #include <libwr/util.h>
 #include <arpa/inet.h> /* for ntohl */
 
@@ -27,7 +26,7 @@ void shw_udelay_init(void)
 	loops_per_msec = i * 1000 / min;
 
 	if (0)
-		pr_debug("loops per msec %i\n", loops_per_msec);
+		printf("loops per msec %i\n", loops_per_msec);
 	/*
 	 * I get 39400 more or less; it makes sense at 197 bogomips.
 	 * The loop is 6 instructions with 3 (cached) memory accesses
-- 
GitLab