diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2011-02-23 12:37:42 -0500 |
---|---|---|
committer | David Brown <davidb@codeaurora.org> | 2011-02-28 15:40:17 -0500 |
commit | bd32344a6baa8baac9c2b3e9c6c649cc4ed53920 (patch) | |
tree | 0b272cc0ea1e7dae1d86fd5ea43de78264000eac /arch/arm/mach-msm/clock.h | |
parent | 2a52220c89e02423aa23e6b9fb6dc0c706465a82 (diff) |
msm: clock: Migrate to clkdev
Migrating to clkdev has several advantages:
* Less code in mach-msm/clock.c
* A more robust clk_get() implementation
* clk_add_alias() support
* clk_get_sys() support
In general, this will help board authors setup clock aliases and
break the dependency on device pointers in the clock tables.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/clock.h')
-rw-r--r-- | arch/arm/mach-msm/clock.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-msm/clock.h b/arch/arm/mach-msm/clock.h index 8d302c7403a8..2c007f606d29 100644 --- a/arch/arm/mach-msm/clock.h +++ b/arch/arm/mach-msm/clock.h | |||
@@ -51,11 +51,9 @@ struct clk { | |||
51 | uint32_t remote_id; | 51 | uint32_t remote_id; |
52 | uint32_t count; | 52 | uint32_t count; |
53 | uint32_t flags; | 53 | uint32_t flags; |
54 | const char *name; | ||
55 | struct clk_ops *ops; | 54 | struct clk_ops *ops; |
56 | const char *dbg_name; | 55 | const char *dbg_name; |
57 | struct list_head list; | 56 | struct list_head list; |
58 | struct device *dev; | ||
59 | }; | 57 | }; |
60 | 58 | ||
61 | #define OFF CLKFLAG_AUTO_OFF | 59 | #define OFF CLKFLAG_AUTO_OFF |