summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/timers/timer-mtu2.c
diff options
context:
space:
mode:
authorPaul Mundt2006-12-01 05:15:14 +0100
committerPaul Mundt2006-12-06 02:45:40 +0100
commit1d118562c2067a42d0e8f70671a4ce27d7c6ffee (patch)
treefa59028397143d7fa94d86785bee8443efe30798 /arch/sh/kernel/timers/timer-mtu2.c
parentsh: Turn off IRQs around get_timer_offset() calls. (diff)
downloadkernel-qcow2-linux-1d118562c2067a42d0e8f70671a4ce27d7c6ffee.tar.gz
kernel-qcow2-linux-1d118562c2067a42d0e8f70671a4ce27d7c6ffee.tar.xz
kernel-qcow2-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.c2
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);