From af80509082a81e5d1f9102293e40f089b5d6eb1f Mon Sep 17 00:00:00 2001 From: Dirk Behme Date: Fri, 20 Jan 2006 11:01:15 -0800 Subject: [PATCH] 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 --- include/asm-arm/arch-omap/clock.h | 1 + sound/oss/omap-audio-aic23.c | 1 + 2 files changed, 2 insertions(+) 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" -- 2.41.1