summaryrefslogtreecommitdiff
path: root/drivers/sh/clk.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sh/clk.c')
-rw-r--r--drivers/sh/clk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sh/clk.c b/drivers/sh/clk.c
index 018be37ef339..c76f972db69a 100644
--- a/drivers/sh/clk.c
+++ b/drivers/sh/clk.c
@@ -81,7 +81,7 @@ struct clk_rate_round_data {
};
#define for_each_frequency(pos, r, freq) \
- for (pos = r->min, freq = r->func(pos, r->arg); \
+ for (pos = r->min, freq = r->func(pos, r); \
pos < r->max; pos++, freq = r->func(pos, r)) \
if (unlikely(freq == 0)) \
; \