public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Dirk Behme <dirk.behme@de.bosch.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] Fix clk_get_usecount() warning
Date: Fri, 20 Jan 2006 11:01:55 -0800	[thread overview]
Message-ID: <20060120190154.GE4431@atomide.com> (raw)
In-Reply-To: <43CD3B18.1010803@de.bosch.com>

* Dirk Behme <dirk.behme@de.bosch.com> [060117 10:50]:
> 
> 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 `audio_aic23_init':
> sound/oss/omap-audio-aic23.c:680: warning: implicit declaration of
> function `clk_get_usecount'
> 
> Signed-off-by: Dirk Behme <dirk.behme_at_de.bosch.com>
> 
> 

> --- ./include/asm-arm/arch-omap/clock.h_orig	2006-01-17 18:52:15.414780616 +0100
> +++ ./include/asm-arm/arch-omap/clock.h	2006-01-17 19:10:53.619787616 +0100
> @@ -57,6 +57,7 @@ extern void propagate_rate(struct clk *c
>  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 */
> --- ./sound/oss/omap-audio-aic23.c_orig	2006-01-17 18:40:00.000000000 +0100
> +++ ./sound/oss/omap-audio-aic23.c	2006-01-17 18:56:08.970274784 +0100
> @@ -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"

Thanks, pushing today.

Tony

      reply	other threads:[~2006-01-20 19:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-17 18:44 [PATCH] Fix clk_get_usecount() warning Dirk Behme
2006-01-20 19:01 ` Tony Lindgren [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060120190154.GE4431@atomide.com \
    --to=tony@atomide.com \
    --cc=dirk.behme@de.bosch.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox