Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316605
b: refs/heads/master
c: f7d8caa
h: refs/heads/master
i:
  316603: 10c7a41
v: v3
  • Loading branch information
Rajendra Nayak authored and Mike Turquette committed Jul 11, 2012
1 parent 8e9beba commit f97687d
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 357c3f0a6c7613f7230fcaf1eb16190ed2a4b0af
refs/heads/master: f7d8caadfd2813cbada82ce9041b13c38e8e5282
2 changes: 1 addition & 1 deletion trunk/drivers/clk/clk-divider.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ static struct clk *_register_divider(struct device *dev, const char *name,

init.name = name;
init.ops = &clk_divider_ops;
init.flags = flags;
init.flags = flags | CLK_IS_BASIC;
init.parent_names = (parent_name ? &parent_name: NULL);
init.num_parents = (parent_name ? 1 : 0);

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/clk/clk-fixed-factor.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ struct clk *clk_register_fixed_factor(struct device *dev, const char *name,

init.name = name;
init.ops = &clk_fixed_factor_ops;
init.flags = flags;
init.flags = flags | CLK_IS_BASIC;
init.parent_names = &parent_name;
init.num_parents = 1;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/clk/clk-fixed-rate.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ struct clk *clk_register_fixed_rate(struct device *dev, const char *name,

init.name = name;
init.ops = &clk_fixed_rate_ops;
init.flags = flags;
init.flags = flags | CLK_IS_BASIC;
init.parent_names = (parent_name ? &parent_name: NULL);
init.num_parents = (parent_name ? 1 : 0);

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/clk/clk-gate.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ struct clk *clk_register_gate(struct device *dev, const char *name,

init.name = name;
init.ops = &clk_gate_ops;
init.flags = flags;
init.flags = flags | CLK_IS_BASIC;
init.parent_names = (parent_name ? &parent_name: NULL);
init.num_parents = (parent_name ? 1 : 0);

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/clk/clk-mux.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ struct clk *clk_register_mux(struct device *dev, const char *name,

init.name = name;
init.ops = &clk_mux_ops;
init.flags = flags;
init.flags = flags | CLK_IS_BASIC;
init.parent_names = parent_names;
init.num_parents = num_parents;

Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/clk-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ struct clk {
.parent_names = _parent_names, \
.num_parents = ARRAY_SIZE(_parent_names), \
.parents = _parents, \
.flags = _flags, \
.flags = _flags | CLK_IS_BASIC, \
}

#define DEFINE_CLK_FIXED_RATE(_name, _flags, _rate, \
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/clk-provider.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define CLK_SET_RATE_PARENT BIT(2) /* propagate rate change up one level */
#define CLK_IGNORE_UNUSED BIT(3) /* do not gate even if unused */
#define CLK_IS_ROOT BIT(4) /* root clk, has no parent */
#define CLK_IS_BASIC BIT(5) /* Basic clk, can't do a to_clk_foo() */

struct clk_hw;

Expand Down

0 comments on commit f97687d

Please sign in to comment.