summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/clock.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-05-11 23:18:09 +0200
committerPaul Mundt <lethal@linux-sh.org>2009-05-11 23:18:09 +0200
commit0dae89572cbcd5f676ea52a9448d9639d97a53d6 (patch)
tree5da5cbf7b044052ccc621d6b17276e4713bf04d1 /arch/sh/include/asm/clock.h
parentsh: clkfwk: Kill off clk_recalc_rate(). (diff)
downloadlinux-0dae89572cbcd5f676ea52a9448d9639d97a53d6.tar.xz
linux-0dae89572cbcd5f676ea52a9448d9639d97a53d6.zip
sh: clkfwk: Wire up clk_get_sys() support.
This stubs in clk_get_sys() from the ARM clkdev implementation. Tentatively conver the clk_get() lookup code to use this, and once the rest of the in-tree users are happy with this, it can replace the fallback lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/clock.h')
-rw-r--r--arch/sh/include/asm/clock.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sh/include/asm/clock.h b/arch/sh/include/asm/clock.h
index 6a2f46333376..e2f5bf1b4a9c 100644
--- a/arch/sh/include/asm/clock.h
+++ b/arch/sh/include/asm/clock.h
@@ -37,6 +37,13 @@ struct clk {
unsigned long arch_flags;
};
+struct clk_lookup {
+ struct list_head node;
+ const char *dev_id;
+ const char *con_id;
+ struct clk *clk;
+};
+
#define CLK_ENABLE_ON_INIT (1 << 0)
/* Should be defined by processor-specific code */