]> Pileus Git - ~andy/linux/commit
sh: extend clock struct with mapped_reg member
authorMagnus Damm <damm@opensource.se>
Thu, 8 Dec 2011 13:58:54 +0000 (22:58 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 9 Dec 2011 09:01:05 +0000 (18:01 +0900)
commiteda2030a5b60bb818f062adacbcfb6fd2d366fb9
tree1806b5e9f0d86e3e397973020418ad3144921b65
parentd4775356bb39eaa305844cc6cc4c267236535956
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>
drivers/sh/clk/core.c
include/linux/sh_clk.h