[alsa-devel] [PATCH] ASoC: bfin-ac97: Fix prototype error following AC'97 refactoring
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 {
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 {
participants (2)
-
Lars-Peter Clausen
-
Mark Brown