diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-05-11 23:18:09 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-11 23:18:09 +0200 |
commit | 0dae89572cbcd5f676ea52a9448d9639d97a53d6 (patch) | |
tree | 5da5cbf7b044052ccc621d6b17276e4713bf04d1 /arch/sh/include/asm/clock.h | |
parent | sh: clkfwk: Kill off clk_recalc_rate(). (diff) | |
download | linux-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.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 { 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 */ |