From: Dirk Behme Date: Fri, 20 Jan 2006 19:01:15 +0000 (-0800) Subject: ARM: OMAP: Fix warning about missing clk_get_usecount() declaration X-Git-Tag: v2.6.16-omap1~121 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=af80509082a81e5d1f9102293e40f089b5d6eb1f;p=linux-2.6-omap-h63xx.git ARM: OMAP: Fix warning about missing clk_get_usecount() declaration 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 Signed-off-by: Tony Lindgren --- diff --git a/include/asm-arm/arch-omap/clock.h b/include/asm-arm/arch-omap/clock.h index 46a0402696d..85a085c68b4 100644 --- a/include/asm-arm/arch-omap/clock.h +++ b/include/asm-arm/arch-omap/clock.h @@ -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 */ diff --git a/sound/oss/omap-audio-aic23.c b/sound/oss/omap-audio-aic23.c index 38b326fbe6c..35bd2b3e782 100644 --- a/sound/oss/omap-audio-aic23.c +++ b/sound/oss/omap-audio-aic23.c @@ -47,6 +47,7 @@ #include #include #include +#include #include "omap-audio.h" #include "omap-audio-dma-intfc.h"