aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-10-13 06:24:55 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-10-13 06:24:55 -0400
commit550a1ef18a53cae3d908edceca9daaafbedcf12f (patch)
treee51db6b524d6d5d9070a2a3b24ba0f2abfe6d70b /drivers/sh
parent69395396a0a8866f30d59c66b7be1912ccb5d160 (diff)
sh: use pr_fmt for clock framework, too.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
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 @@
14 * License. See the file "COPYING" in the main directory of this archive 14 * License. See the file "COPYING" in the main directory of this archive
15 * for more details. 15 * for more details.
16 */ 16 */
17#define pr_fmt(fmt) "clock: " fmt
18
17#include <linux/kernel.h> 19#include <linux/kernel.h>
18#include <linux/init.h> 20#include <linux/init.h>
19#include <linux/module.h> 21#include <linux/module.h>
@@ -357,7 +359,7 @@ int clk_set_parent(struct clk *clk, struct clk *parent)
357 if (ret == 0) { 359 if (ret == 0) {
358 if (clk->ops->recalc) 360 if (clk->ops->recalc)
359 clk->rate = clk->ops->recalc(clk); 361 clk->rate = clk->ops->recalc(clk);
360 pr_debug("clock: set parent of %p to %p (new rate %ld)\n", 362 pr_debug("set parent of %p to %p (new rate %ld)\n",
361 clk, clk->parent, clk->rate); 363 clk, clk->parent, clk->rate);
362 propagate_rate(clk); 364 propagate_rate(clk);
363 } 365 }