diff options
author | Ryusuke Sakato <sakato.ryusuke@renesas.com> | 2007-05-07 03:48:56 +0200 |
---|---|---|
committer | Paul Mundt <lethal@hera.kernel.org> | 2007-05-07 04:11:57 +0200 |
commit | 39374aadcd0159b4744ab456f4efa100bea84bd4 (patch) | |
tree | abc7f4066e3404cf12e50688f558e0f9afd1de9d /arch/sh/boards | |
parent | sh: Update r7780rp defconfig. (diff) | |
download | linux-39374aadcd0159b4744ab456f4efa100bea84bd4.tar.xz linux-39374aadcd0159b4744ab456f4efa100bea84bd4.zip |
sh: R7785RP board updates.
Some fixups for the R7785RP board. Gets iVDR working.
Signed-off-by: Ryusuke Sakato <sakato.ryusuke@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards')
-rw-r--r-- | arch/sh/boards/renesas/r7780rp/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/boards/renesas/r7780rp/setup.c b/arch/sh/boards/renesas/r7780rp/setup.c index 6af0cc35ceb7..0727ef92f2b3 100644 --- a/arch/sh/boards/renesas/r7780rp/setup.c +++ b/arch/sh/boards/renesas/r7780rp/setup.c @@ -97,12 +97,12 @@ device_initcall(r7780rp_devices_setup); */ static void ivdr_clk_enable(struct clk *clk) { - ctrl_outw(ctrl_inw(PA_IVDRCTL) | (1 << 8), PA_IVDRCTL); + ctrl_outw(ctrl_inw(PA_IVDRCTL) | (1 << IVDR_CK_ON), PA_IVDRCTL); } static void ivdr_clk_disable(struct clk *clk) { - ctrl_outw(ctrl_inw(PA_IVDRCTL) & ~(1 << 8), PA_IVDRCTL); + ctrl_outw(ctrl_inw(PA_IVDRCTL) & ~(1 << IVDR_CK_ON), PA_IVDRCTL); } static struct clk_ops ivdr_clk_ops = { |