]> err.no Git - linux-2.6/commitdiff
sh: hp6xx driver compile fixes.
authorKristoffer Ericson <Kristoffer_e1@hotmail.com>
Mon, 19 Mar 2007 07:12:13 +0000 (16:12 +0900)
committerPaul Mundt <lethal@hera.kernel.org>
Mon, 7 May 2007 02:10:54 +0000 (02:10 +0000)
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>
drivers/input/touchscreen/hp680_ts_input.c
sound/oss/sh_dac_audio.c

index 249087472740133b4bd359db9255eacd134b784a..61c15024c2a0e0ef87738239028500338cd185cd 100644 (file)
@@ -21,7 +21,7 @@
 static void do_softint(void *data);
 
 static struct input_dev *hp680_ts_dev;
-static DECLARE_WORK(work, do_softint, 0);
+static DECLARE_WORK(work, do_softint);
 
 static void do_softint(void *data)
 {
index 7ea9accc2ba4461dd5a543cec153b4c8ca729dde..b493660deb36b503b39a509861ebf54b2eb8254b 100644 (file)
@@ -104,7 +104,7 @@ static void dac_audio_set_rate(void)
        unsigned long interval;
        struct clk *clk;
 
-       clk = clk_get("module_clk");
+       clk = clk_get(NULL, "module_clk");
        interval = (clk_get_rate(clk) / 4) / rate;
        clk_put(clk);
        ctrl_outl(interval, TMU1_TCOR);