aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sh_clk.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2011-12-08 22:58:54 +0900
committerPaul Mundt <lethal@linux-sh.org>2011-12-09 18:01:05 +0900
commiteda2030a5b60bb818f062adacbcfb6fd2d366fb9 (patch)
tree1806b5e9f0d86e3e397973020418ad3144921b65 /include/linux/sh_clk.h
parentd4775356bb39eaa305844cc6cc4c267236535956 (diff)
downloadkernel_goldelico_gta04-eda2030a5b60bb818f062adacbcfb6fd2d366fb9.zip
kernel_goldelico_gta04-eda2030a5b60bb818f062adacbcfb6fd2d366fb9.tar.gz
kernel_goldelico_gta04-eda2030a5b60bb818f062adacbcfb6fd2d366fb9.tar.bz2
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.h1
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;