alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: bfin-ac97: Fix prototype error following AC'97 refactoring
@ 2013-07-29  7:53 Mark Brown
  2013-07-29 16:55 ` Lars-Peter Clausen
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2013-07-29  7:53 UTC (permalink / raw)
  To: Lars-Peter Clausen, Liam Girdwood; +Cc: alsa-devel, Mark Brown

From: Mark Brown <broonie@linaro.org>

As part of the multiplatform refactoring for AC'97 the AC'97 bus ops were
staticised meaning that the prototype (which was never needed) conflicts
with the declaration causing build failures.

Signed-off-by: Mark Brown <broonie@linaro.org>
---
 sound/soc/blackfin/bf5xx-ac97.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/blackfin/bf5xx-ac97.h b/sound/soc/blackfin/bf5xx-ac97.h
index 15c635e..0c3e22d 100644
--- a/sound/soc/blackfin/bf5xx-ac97.h
+++ b/sound/soc/blackfin/bf5xx-ac97.h
@@ -9,7 +9,6 @@
 #ifndef _BF5XX_AC97_H
 #define _BF5XX_AC97_H
 
-extern struct snd_ac97_bus_ops bf5xx_ac97_ops;
 extern struct snd_ac97 *ac97;
 /* Frame format in memory, only support stereo currently */
 struct ac97_frame {
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: bfin-ac97: Fix prototype error following AC'97 refactoring
  2013-07-29  7:53 [PATCH] ASoC: bfin-ac97: Fix prototype error following AC'97 refactoring Mark Brown
@ 2013-07-29 16:55 ` Lars-Peter Clausen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars-Peter Clausen @ 2013-07-29 16:55 UTC (permalink / raw)
  To: Mark Brown; +Cc: alsa-devel, Liam Girdwood, Mark Brown

On 07/29/2013 09:53 AM, Mark Brown wrote:
> From: Mark Brown <broonie@linaro.org>
> 
> As part of the multiplatform refactoring for AC'97 the AC'97 bus ops were
> staticised meaning that the prototype (which was never needed) conflicts
> with the declaration causing build failures.
> 
> Signed-off-by: Mark Brown <broonie@linaro.org>

Acked-by: Lars-Peter Clausen <lars@metafoo.de>

> ---
>  sound/soc/blackfin/bf5xx-ac97.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/sound/soc/blackfin/bf5xx-ac97.h b/sound/soc/blackfin/bf5xx-ac97.h
> index 15c635e..0c3e22d 100644
> --- a/sound/soc/blackfin/bf5xx-ac97.h
> +++ b/sound/soc/blackfin/bf5xx-ac97.h
> @@ -9,7 +9,6 @@
>  #ifndef _BF5XX_AC97_H
>  #define _BF5XX_AC97_H
>  
> -extern struct snd_ac97_bus_ops bf5xx_ac97_ops;
>  extern struct snd_ac97 *ac97;
>  /* Frame format in memory, only support stereo currently */
>  struct ac97_frame {
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-29 16:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-29  7:53 [PATCH] ASoC: bfin-ac97: Fix prototype error following AC'97 refactoring Mark Brown
2013-07-29 16:55 ` Lars-Peter Clausen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).