diff options
Diffstat (limited to 'drivers/clk/mxs/clk.h')
-rw-r--r-- | drivers/clk/mxs/clk.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/mxs/clk.h b/drivers/clk/mxs/clk.h index 00895de507..a93361a9ea 100644 --- a/drivers/clk/mxs/clk.h +++ b/drivers/clk/mxs/clk.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __MXS_CLK_H #define __MXS_CLK_H @@ -34,7 +35,7 @@ static inline struct clk *mxs_clk_fixed(const char *name, int rate) static inline struct clk *mxs_clk_gate(const char *name, const char *parent_name, void __iomem *reg, u8 shift) { - return clk_gate_inverted(name, parent_name, reg, shift, 0); + return clk_gate_inverted(name, parent_name, reg, shift, CLK_SET_RATE_PARENT); } static inline struct clk *mxs_clk_mux(const char *name, void __iomem *reg, |