Skip to contentSkip to conversation

ASoC: OMAP4: MCPDM: Remove unnecessary include of plat/control.h

PATCH In review Anand Gadiyar 5 participants 5 messages Oct 12, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: OMAP4: MCPDM: Remove unnecessary include of plat/control.h

Commit 346a5c890 (OMAP: control: move plat-omap/control.h to mach-omap2/control.h) in the linux-omap tree removed plat/control.h and most of its callers. This one slipped through - breaking the build as below when CONFIG_SND_OMAP_SOC_MCPDM is defined. Fix this.

CC sound/soc/omap/omap-mcpdm.o
sound/soc/omap/omap-mcpdm.c:35: fatal error: plat/control.h: No such file or directory compilation terminated.
make[3]: *** [sound/soc/omap/omap-mcpdm.o] Error 1
make[2]: *** [sound/soc/omap] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2

Cc Misael Lopez Cruz <[email protected]>
Cc Liam Girdwood <[email protected]>
Cc Mark Brown <[email protected]>
Cc Paul Walmsley <[email protected]>
Cc Tony Lindgren <[email protected]>

---
This break is reproducible on linux-next as of 20101011; I think it also exists in mainline, but I did not check.

Probably worth taking this through the ALSA tree with Tony or Paul's ack.

I'm not subscribed to the alsa list. Please CC me on replies.

 sound/soc/omap/omap-mcpdm.c |    1 -
 1 file changed, 1 deletion(-)
sound/soc/omap/omap-mcpdm.c +0 -1
Index: mainline/sound/soc/omap/omap-mcpdm.c
===================================================================
@@ -32,7 +32,6 @@
 #include <sound/initval.h>
 #include <sound/soc.h>
 
-#include <plat/control.h>
 #include <plat/dma.h>
 #include <plat/mcbsp.h>
 #include "mcpdm.h"
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Anand Gadiyar

Commit 346a5c890 (OMAP: control: move plat-omap/control.h to mach-omap2/control.h) in the linux-omap tree removed plat/control.h and most of its callers. This one slipped through - breaking the build as below when CONFIG_SND_OMAP_SOC_MCPDM is defined. Fix this.

Acked-by
#2 lore raw
Quoted 8 lines · On Tue, 12 Oct 2010 14:29:48 +0100 Mark Brown…
Quoted 5 lines · Anand Gadiyar

Commit 346a5c890 (OMAP: control: move plat-omap/control.h to mach-omap2/control.h) in the linux-omap tree removed plat/control.h and most of its callers. This one slipped through - breaking the build as below when CONFIG_SND_OMAP_SOC_MCPDM is defined. Fix this.

Tony, Liam: This must come via linux-omap together with other Paul's patches. Does not conflict with ASoC multi-component change.

#3 lore raw
Quoted 10 lines · Jarkko Nikula
Quoted 7 lines · On Tue, 12 Oct 2010 14:29:48 +0100 Mark Brown…
Quoted 5 lines · Anand Gadiyar

Commit 346a5c890 (OMAP: control: move plat-omap/control.h to mach-omap2/control.h) in the linux-omap tree removed plat/control.h and most of its callers. This one slipped through - breaking the build as below when CONFIG_SND_OMAP_SOC_MCPDM is defined. Fix this.

Quoted 6 lines
Quoted 1 line

Tony, Liam: This must come via linux-omap together with other Paul's patches. Does not conflict with ASoC multi-component change.

Thanks, adding into omap-for-linus.

Tony

Acked-by on v1 1/1
#4 lore raw
In reply to Anand Gadiyar
Quoted 20 lines · Anand Gadiyar

Commit 346a5c890 (OMAP: control: move plat-omap/control.h to mach-omap2/control.h) in the linux-omap tree removed plat/control.h and most of its callers. This one slipped through - breaking the build as below when CONFIG_SND_OMAP_SOC_MCPDM is defined. Fix this.

CC sound/soc/omap/omap-mcpdm.o
sound/soc/omap/omap-mcpdm.c:35: fatal error: plat/control.h: No such file or directory compilation terminated.
make[3]: *** [sound/soc/omap/omap-mcpdm.o] Error 1
make[2]: *** [sound/soc/omap] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2

Cc Misael Lopez Cruz <[email protected]>
Cc Liam Girdwood <[email protected]>
Cc Mark Brown <[email protected]>
Cc Paul Walmsley <[email protected]>
Cc Tony Lindgren <[email protected]>
Quoted 6 lines

---
This break is reproducible on linux-next as of 20101011; I think it also exists in mainline, but I did not check.

Probably worth taking this through the ALSA tree with Tony or Paul's ack.

thanks Anand,

- Paul