diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-07-06 02:54:11 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-07-11 15:07:25 +0900 |
commit | 1522043bf73ef0e9e61dc512a0f3cdbec1cbf89f (patch) | |
tree | d8526df84637a6ed43a00782d313b55e4a50031c /include/linux/sh_clk.h | |
parent | 4857c70dcecdcf14e6236f31ca8abc5fab0cd8f8 (diff) | |
download | linux-3.10-1522043bf73ef0e9e61dc512a0f3cdbec1cbf89f.tar.gz linux-3.10-1522043bf73ef0e9e61dc512a0f3cdbec1cbf89f.tar.bz2 linux-3.10-1522043bf73ef0e9e61dc512a0f3cdbec1cbf89f.zip |
sh: move CLKDEV_xxx_ID macro to sh_clk.h
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/linux/sh_clk.h')
-rw-r--r-- | include/linux/sh_clk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sh_clk.h b/include/linux/sh_clk.h index 9a52f72527d..3ccf18648d0 100644 --- a/include/linux/sh_clk.h +++ b/include/linux/sh_clk.h @@ -147,4 +147,8 @@ int sh_clk_div4_reparent_register(struct clk *clks, int nr, int sh_clk_div6_register(struct clk *clks, int nr); int sh_clk_div6_reparent_register(struct clk *clks, int nr); +#define CLKDEV_CON_ID(_id, _clk) { .con_id = _id, .clk = _clk } +#define CLKDEV_DEV_ID(_id, _clk) { .dev_id = _id, .clk = _clk } +#define CLKDEV_ICK_ID(_cid, _did, _clk) { .con_id = _cid, .dev_id = _did, .clk = _clk } + #endif /* __SH_CLOCK_H */ |