diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-05-11 17:18:09 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-11 17:18:09 -0400 |
commit | 0dae89572cbcd5f676ea52a9448d9639d97a53d6 (patch) | |
tree | 5da5cbf7b044052ccc621d6b17276e4713bf04d1 /arch/sh/include | |
parent | 007e8363b656768fe3f59c180824ff704680bb25 (diff) |
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')
-rw-r--r-- | arch/sh/include/asm/clock.h | 7 |
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 { | |||
37 | unsigned long arch_flags; | 37 | unsigned long arch_flags; |
38 | }; | 38 | }; |
39 | 39 | ||
40 | struct clk_lookup { | ||
41 | struct list_head node; | ||
42 | const char *dev_id; | ||
43 | const char *con_id; | ||
44 | struct clk *clk; | ||
45 | }; | ||
46 | |||
40 | #define CLK_ENABLE_ON_INIT (1 << 0) | 47 | #define CLK_ENABLE_ON_INIT (1 << 0) |
41 | 48 | ||
42 | /* Should be defined by processor-specific code */ | 49 | /* Should be defined by processor-specific code */ |