summaryrefslogtreecommitdiffstats
path: root/drivers/clk/tegra/clk-periph.c
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/tegra/clk-periph.c
parent75c0f6f879dee44de3bb3b388ab3430543677b93 (diff)
downloadbarebox-32a2a673c6d24a85751f88fb14bb8302fc11c4a9.tar.gz
barebox-32a2a673c6d24a85751f88fb14bb8302fc11c4a9.tar.xz
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/tegra/clk-periph.c')
-rw-r--r--drivers/clk/tegra/clk-periph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/tegra/clk-periph.c b/drivers/clk/tegra/clk-periph.c
index c970f63afa..b7414dec0b 100644
--- a/drivers/clk/tegra/clk-periph.c
+++ b/drivers/clk/tegra/clk-periph.c
@@ -145,7 +145,7 @@ struct clk *_tegra_clk_register_periph(const char *name,
goto out_mux;
periph->gate = clk_gate_alloc(NULL, NULL, clk_base + 0x10 +
- ((id >> 3) & 0xc), id & 0x1f, 0);
+ ((id >> 3) & 0xc), id & 0x1f, 0, 0);
if (!periph->gate)
goto out_gate;