summaryrefslogtreecommitdiff
path: root/drivers/clk/mxs/clk-div.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/mxs/clk-div.c')
-rw-r--r--drivers/clk/mxs/clk-div.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mxs/clk-div.c b/drivers/clk/mxs/clk-div.c
index 049ee27d5a22..f75e989c578f 100644
--- a/drivers/clk/mxs/clk-div.c
+++ b/drivers/clk/mxs/clk-div.c
@@ -33,7 +33,7 @@ struct clk_div {
static inline struct clk_div *to_clk_div(struct clk_hw *hw)
{
- struct clk_divider *divider = container_of(hw, struct clk_divider, hw);
+ struct clk_divider *divider = to_clk_divider(hw);
return container_of(divider, struct clk_div, divider);
}