summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/clock.h
diff options
context:
space:
mode:
authorStephen Boyd2011-02-23 18:37:42 +0100
committerDavid Brown2011-02-28 21:40:17 +0100
commitbd32344a6baa8baac9c2b3e9c6c649cc4ed53920 (patch)
tree0b272cc0ea1e7dae1d86fd5ea43de78264000eac /arch/arm/mach-msm/clock.h
parentmsm: clock: Remove references to clk_ops_pcom (diff)
downloadkernel-qcow2-linux-bd32344a6baa8baac9c2b3e9c6c649cc4ed53920.tar.gz
kernel-qcow2-linux-bd32344a6baa8baac9c2b3e9c6c649cc4ed53920.tar.xz
kernel-qcow2-linux-bd32344a6baa8baac9c2b3e9c6c649cc4ed53920.zip
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.h2
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 {
uint32_t remote_id;
uint32_t count;
uint32_t flags;
- const char *name;
struct clk_ops *ops;
const char *dbg_name;
struct list_head list;
- struct device *dev;
};
#define OFF CLKFLAG_AUTO_OFF