diff options
author | Kristoffer Ericson <Kristoffer_e1@hotmail.com> | 2007-03-19 03:12:13 -0400 |
---|---|---|
committer | Paul Mundt <lethal@hera.kernel.org> | 2007-05-06 22:10:54 -0400 |
commit | 5753171b8234b98d35d559abc0d88b9e4b520b14 (patch) | |
tree | f9b5bfd736a689d3ccb0a821cc836bcfcee4950d /sound/oss/sh_dac_audio.c | |
parent | d29c91c70bc7790b112119135fae7690cbf17577 (diff) |
sh: hp6xx driver compile fixes.
Trivial compilation fixes for the hp6xx drivers.
Signed-off-by: Kristoffer Ericson <Kristoffer_e1@hotmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'sound/oss/sh_dac_audio.c')
-rw-r--r-- | sound/oss/sh_dac_audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/sh_dac_audio.c b/sound/oss/sh_dac_audio.c index 7ea9accc2ba4..b493660deb36 100644 --- a/sound/oss/sh_dac_audio.c +++ b/sound/oss/sh_dac_audio.c | |||
@@ -104,7 +104,7 @@ static void dac_audio_set_rate(void) | |||
104 | unsigned long interval; | 104 | unsigned long interval; |
105 | struct clk *clk; | 105 | struct clk *clk; |
106 | 106 | ||
107 | clk = clk_get("module_clk"); | 107 | clk = clk_get(NULL, "module_clk"); |
108 | interval = (clk_get_rate(clk) / 4) / rate; | 108 | interval = (clk_get_rate(clk) / 4) / rate; |
109 | clk_put(clk); | 109 | clk_put(clk); |
110 | ctrl_outl(interval, TMU1_TCOR); | 110 | ctrl_outl(interval, TMU1_TCOR); |