diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-03-13 09:19:36 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-03-28 10:51:30 +0100 |
commit | b33e5ba246860cc3fa6b79ed82d51c47f936f651 (patch) | |
tree | e30b42fca222393786b51c8b083422fb31c2f39b /include/linux/clk.h | |
parent | 3d937ce3125648181af6e20458c0cb12a99a73e5 (diff) | |
download | barebox-b33e5ba246860cc3fa6b79ed82d51c47f936f651.tar.gz barebox-b33e5ba246860cc3fa6b79ed82d51c47f936f651.tar.xz |
clk: clk-mux: pass clk flags from initializers
struct clk has a flags field, let the clk-mux initializers set this
field.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux/clk.h')
-rw-r--r-- | include/linux/clk.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/clk.h b/include/linux/clk.h index af38c720e8..439e88cf5b 100644 --- a/include/linux/clk.h +++ b/include/linux/clk.h @@ -252,10 +252,12 @@ struct clk *clk_fixed_factor(const char *name, const char *parent, unsigned int mult, unsigned int div); struct clk *clk_mux_alloc(const char *name, void __iomem *reg, - u8 shift, u8 width, const char **parents, u8 num_parents); + u8 shift, u8 width, const char **parents, u8 num_parents, + unsigned flags); void clk_mux_free(struct clk *clk_mux); struct clk *clk_mux(const char *name, void __iomem *reg, - u8 shift, u8 width, const char **parents, u8 num_parents); + u8 shift, u8 width, const char **parents, u8 num_parents, + unsigned flags); struct clk *clk_gate_alloc(const char *name, const char *parent, void __iomem *reg, u8 shift); |