summaryrefslogtreecommitdiff
path: root/drivers/sh
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sh')
-rw-r--r--drivers/sh/clk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/sh/clk.c b/drivers/sh/clk.c
index 30ad6f04afb0..661a801126ad 100644
--- a/drivers/sh/clk.c
+++ b/drivers/sh/clk.c
@@ -14,6 +14,8 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
+#define pr_fmt(fmt) "clock: " fmt
+
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
@@ -357,7 +359,7 @@ int clk_set_parent(struct clk *clk, struct clk *parent)
if (ret == 0) {
if (clk->ops->recalc)
clk->rate = clk->ops->recalc(clk);
- pr_debug("clock: set parent of %p to %p (new rate %ld)\n",
+ pr_debug("set parent of %p to %p (new rate %ld)\n",
clk, clk->parent, clk->rate);
propagate_rate(clk);
}