diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-12-01 05:15:14 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-12-06 02:45:40 +0100 |
commit | 1d118562c2067a42d0e8f70671a4ce27d7c6ffee (patch) | |
tree | fa59028397143d7fa94d86785bee8443efe30798 /arch/sh/kernel/timers/timer-mtu2.c | |
parent | sh: Turn off IRQs around get_timer_offset() calls. (diff) | |
download | linux-1d118562c2067a42d0e8f70671a4ce27d7c6ffee.tar.xz linux-1d118562c2067a42d0e8f70671a4ce27d7c6ffee.zip |
sh: Clock framework tidying.
This syncs up the SH clock framework with the linux/clk.h API,
for which there were only some minor changes required, namely
the clk_get() dev_id and subsequent callsites.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/timers/timer-mtu2.c')
-rw-r--r-- | arch/sh/kernel/timers/timer-mtu2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/timers/timer-mtu2.c b/arch/sh/kernel/timers/timer-mtu2.c index 201f0a62132f..fffcd1c09873 100644 --- a/arch/sh/kernel/timers/timer-mtu2.c +++ b/arch/sh/kernel/timers/timer-mtu2.c @@ -161,7 +161,7 @@ static int mtu2_timer_init(void) setup_irq(CONFIG_SH_TIMER_IRQ, &mtu2_irq); - mtu2_clk1.parent = clk_get("module_clk"); + mtu2_clk1.parent = clk_get(NULL, "module_clk"); ctrl_outb(ctrl_inb(STBCR3) & (~0x20), STBCR3); |