]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fix warning about missing clk_get_usecount() declaration
authorDirk Behme <dirk.behme@de.bosch.com>
Fri, 20 Jan 2006 19:01:15 +0000 (11:01 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 20 Jan 2006 19:01:15 +0000 (11:01 -0800)
arch/arm/plat-omap/clock.c exports clk_get_usecount(), but linux/clk.h
doesn't contain the prototype for it. Add it to asm/arch/clock.h and add
clock.h to omap-audio-aic23.c.
sound/oss/omap-audio-aic23.c: In function clk_get_usecount'

Signed-off-by: Dirk Behme <dirk.behme_at_de.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
include/asm-arm/arch-omap/clock.h
sound/oss/omap-audio-aic23.c

index 46a0402696de913ec357e79548a34ac37ee3446d..85a085c68b46b7c23a0fae33191acf90e064e2aa 100644 (file)
@@ -57,6 +57,7 @@ extern void propagate_rate(struct clk *clk);
 extern void followparent_recalc(struct clk * clk);
 extern void clk_allow_idle(struct clk *clk);
 extern void clk_deny_idle(struct clk *clk);
+extern int clk_get_usecount(struct clk *clk);
 
 /* Clock flags */
 #define RATE_CKCTL             (1 << 0)        /* Main fixed ratio clocks */
index 38b326fbe6c9e30d5071a9548c694cb5a361c2a9..35bd2b3e7823e6dcbf9cebc237408db3f7093ca7 100644 (file)
@@ -47,6 +47,7 @@
 #include <asm/arch/mcbsp.h>
 #include <asm/arch/fpga.h>
 #include <asm/arch/aic23.h>
+#include <asm/arch/clock.h>
 
 #include "omap-audio.h"
 #include "omap-audio-dma-intfc.h"