diff options
author | Magnus Damm <damm@opensource.se> | 2011-12-08 22:58:54 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-12-09 18:01:05 +0900 |
commit | eda2030a5b60bb818f062adacbcfb6fd2d366fb9 (patch) | |
tree | 1806b5e9f0d86e3e397973020418ad3144921b65 /include | |
parent | d4775356bb39eaa305844cc6cc4c267236535956 (diff) | |
download | op-kernel-dev-eda2030a5b60bb818f062adacbcfb6fd2d366fb9.zip op-kernel-dev-eda2030a5b60bb818f062adacbcfb6fd2d366fb9.tar.gz |
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')
-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 e834304..54341d8 100644 --- a/include/linux/sh_clk.h +++ b/include/linux/sh_clk.h @@ -49,6 +49,7 @@ struct clk { void __iomem *enable_reg; unsigned int enable_bit; + void __iomem *mapped_reg; unsigned long arch_flags; void *priv; |