diff options
author | Magnus Damm <damm@opensource.se> | 2011-12-08 08:58:54 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-12-09 04:01:05 -0500 |
commit | eda2030a5b60bb818f062adacbcfb6fd2d366fb9 (patch) | |
tree | 1806b5e9f0d86e3e397973020418ad3144921b65 /include/linux/sh_clk.h | |
parent | d4775356bb39eaa305844cc6cc4c267236535956 (diff) |
sh: extend clock struct with mapped_reg member
Add a "mapped_reg" member to struct clk and use that
to keep the ioremapped register based on enable_reg.
Signed-off-by: Magnus Damm <damm@opensource.se>
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sh_clk.h b/include/linux/sh_clk.h index e834304c0b6a..54341d811685 100644 --- a/include/linux/sh_clk.h +++ b/include/linux/sh_clk.h | |||
@@ -49,6 +49,7 @@ struct clk { | |||
49 | 49 | ||
50 | void __iomem *enable_reg; | 50 | void __iomem *enable_reg; |
51 | unsigned int enable_bit; | 51 | unsigned int enable_bit; |
52 | void __iomem *mapped_reg; | ||
52 | 53 | ||
53 | unsigned long arch_flags; | 54 | unsigned long arch_flags; |
54 | void *priv; | 55 | void *priv; |