summaryrefslogtreecommitdiff
path: root/drivers/clk/mediatek/clk-gate.h
diff options
context:
space:
mode:
authorJasper Mattsson <jasu@njomotys.info>2019-02-14 19:32:30 +0300
committerStephen Boyd <sboyd@kernel.org>2019-02-26 20:53:39 +0300
commit5a1cc4c27ad2aa3f988e2d69ce281fd3e8292ce3 (patch)
treee8780d2b15d30b1c70ecae36e4a1c6c2ad1b1726 /drivers/clk/mediatek/clk-gate.h
parent03c4fda603fb48d5bb58cc72906dd592a54e464f (diff)
downloadlinux-5a1cc4c27ad2aa3f988e2d69ce281fd3e8292ce3.tar.xz
clk: mediatek: Add flags to mtk_gate
This is required to mark gates as CLK_IS_CRITICAL. Signed-off-by: Jasper Mattsson <jasu@njomotys.info> Acked-by: Mars Cheng <mars.cheng@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-gate.h')
-rw-r--r--drivers/clk/mediatek/clk-gate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/mediatek/clk-gate.h b/drivers/clk/mediatek/clk-gate.h
index 72ef89b3ad7b..9f766dfe1d57 100644
--- a/drivers/clk/mediatek/clk-gate.h
+++ b/drivers/clk/mediatek/clk-gate.h
@@ -47,6 +47,7 @@ struct clk *mtk_clk_register_gate(
int clr_ofs,
int sta_ofs,
u8 bit,
- const struct clk_ops *ops);
+ const struct clk_ops *ops,
+ unsigned long flags);
#endif /* __DRV_CLK_GATE_H */