提交 550a1ef1 编写于 作者: P Paul Mundt

sh: use pr_fmt for clock framework, too.

Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 69395396
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
* License. See the file "COPYING" in the main directory of this archive * License. See the file "COPYING" in the main directory of this archive
* for more details. * for more details.
*/ */
#define pr_fmt(fmt) "clock: " fmt
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/module.h> #include <linux/module.h>
...@@ -357,7 +359,7 @@ int clk_set_parent(struct clk *clk, struct clk *parent) ...@@ -357,7 +359,7 @@ int clk_set_parent(struct clk *clk, struct clk *parent)
if (ret == 0) { if (ret == 0) {
if (clk->ops->recalc) if (clk->ops->recalc)
clk->rate = clk->ops->recalc(clk); 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); clk, clk->parent, clk->rate);
propagate_rate(clk); propagate_rate(clk);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册