summaryrefslogtreecommitdiffstats
path: root/drivers/clk/mvebu
diff options
context:
space:
mode:
authorBeniamino Galvani <b.galvani@gmail.com>2014-04-27 11:30:38 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-04-29 08:15:24 +0200
commit32a2a673c6d24a85751f88fb14bb8302fc11c4a9 (patch)
tree9a6fb8481232cba8e91d89ed6cb9fc78fff385ef /drivers/clk/mvebu
parent75c0f6f879dee44de3bb3b388ab3430543677b93 (diff)
downloadbarebox-32a2a673c6d24a85751f88fb14bb8302fc11c4a9.tar.gz
clk: gate: add flags argument to clock gate constructor
This adds a clk_gate_flags argument to clock gate creation functions to allow the introduction of new clock gate modifiers. Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/clk/mvebu')
-rw-r--r--drivers/clk/mvebu/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mvebu/common.c b/drivers/clk/mvebu/common.c
index 658ce3e..f3be5f2 100644
--- a/drivers/clk/mvebu/common.c
+++ b/drivers/clk/mvebu/common.c
@@ -188,7 +188,7 @@ int mvebu_clk_gating_probe(struct device_d *dev)
(desc[n].parent) ? desc[n].parent : default_parent;
gate->bit_idx = desc[n].bit_idx;
gate->clk = clk_gate(desc[n].name, parent,
- base, desc[n].bit_idx, 0);
+ base, desc[n].bit_idx, 0, 0);
WARN_ON(IS_ERR(gate->clk));
}