Skip to contentSkip to conversation

ASoC: multi-component: remove include of pxa2xx-pcm.h in pxa2xx-ac97.c

PATCH Applied Axel Lin 2 participants 2 messages Aug 20, 2010

Subsystems (3)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ASoC: multi-component: remove include of pxa2xx-pcm.h in pxa2xx-ac97.c

Fix reference to moved header file, which was unused anyway.
This change fixes below build error:
CC sound/soc/pxa/pxa2xx-ac97.o
sound/soc/pxa/pxa2xx-ac97.c:27:24: error: pxa2xx-pcm.h: No such file or directory make[3]: *** [sound/soc/pxa/pxa2xx-ac97.o] Error 1
make[2]: *** [sound/soc/pxa] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2

---
I encountered the build error in today's linux-next tree. ( next-20100820 ). Looks like this patch can also be applied to multi-component branch.

Axel

 sound/soc/pxa/pxa2xx-ac97.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
sound/soc/pxa/pxa2xx-ac97.c +0 -1
index 9c2bafa..ac51c6d 100644
@@ -24,7 +24,6 @@
 #include <mach/dma.h>
 #include <mach/audio.h>
 
-#include "pxa2xx-pcm.h"
 #include "pxa2xx-ac97.h"
 
 static void pxa2xx_ac97_warm_reset(struct snd_ac97 *ac97)
Signature · 1 line
1.7.2
Applied
#1 lore raw
Quoted 8 lines · Axel Lin

Fix reference to moved header file, which was unused anyway.
This change fixes below build error:
CC sound/soc/pxa/pxa2xx-ac97.o
sound/soc/pxa/pxa2xx-ac97.c:27:24: error: pxa2xx-pcm.h: No such file or directory make[3]: *** [sound/soc/pxa/pxa2xx-ac97.o] Error 1
make[2]: *** [sound/soc/pxa] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2

Applied, thanks.