diff options
-rw-r--r-- | drivers/sh/clk.c | 4 |
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 | } |