Commit af805090 authored by Dirk Behme's avatar Dirk Behme Committed by Tony Lindgren

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 <dirk.behme_at_de.bosch.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 6a4032de
......@@ -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 */
......
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment