Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
* [PATCH 1/2] omap: zoom2: Fix ASoC multi-component build breakage by removing dead code
@ 2010-09-23 16:11 Jarkko Nikula
  2010-09-23 16:11 ` [PATCH 2/2] omap: zoom: Move new code introduced by ASoC m-c to board-zoom-peripherals Jarkko Nikula
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jarkko Nikula @ 2010-09-23 16:11 UTC (permalink / raw)
  To: alsa-devel
  Cc: Liam Girdwood, Mark Brown, linux-omap, Jarkko Nikula,
	Vikram Pandita, Tony Lindgren

ASoC Multi-Component Support patch removes #if 0 in board-zoom2.c that was
used to protect some uncompiling dead code. Remove that code as it seems to
be here quite some time since commit 479f12c.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Cc: Vikram Pandita <vikram.pandita@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
---
Sorry for not noticing this before. Somehow my own test config didn't include
zoom2 like omap3_defconfig does.
---
 arch/arm/mach-omap2/board-zoom2.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/arch/arm/mach-omap2/board-zoom2.c b/arch/arm/mach-omap2/board-zoom2.c
index efbcd8f..86d4515 100644
--- a/arch/arm/mach-omap2/board-zoom2.c
+++ b/arch/arm/mach-omap2/board-zoom2.c
@@ -41,10 +41,6 @@ void zoom2_set_hs_extmute(int mute)
 	gpio_set_value(ZOOM2_HEADSET_EXTMUTE_GPIO, mute);
 }
 
-static struct twl4030_madc_platform_data zoom2_madc_data = {
-	.irq_line	= 1,
-};
-
 static struct twl4030_codec_audio_data zoom2_audio_data = {
 	.audio_mclk = 26000000,
 	.ramp_delay_value = 3,	/* 161 ms */
@@ -62,15 +58,7 @@ static struct twl4030_platform_data zoom2_twldata = {
 	.irq_end	= TWL4030_IRQ_END,
 
 	/* platform_data for children goes here */
-	.bci		= &zoom2_bci_data,
-	.madc		= &zoom2_madc_data,
-	.usb		= &zoom2_usb_data,
-	.gpio		= &zoom2_gpio_data,
-	.keypad		= &zoom2_kp_twl4030_data,
 	.codec		= &zoom2_codec_data,
-	.vmmc1          = &zoom2_vmmc1,
-	.vmmc2          = &zoom2_vmmc2,
-	.vsim           = &zoom2_vsim,
 };
 
 static struct i2c_board_info __initdata zoom2_i2c_boardinfo[] = {
-- 
1.7.1


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

end of thread, other threads:[~2010-10-01 23:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-23 16:11 [PATCH 1/2] omap: zoom2: Fix ASoC multi-component build breakage by removing dead code Jarkko Nikula
2010-09-23 16:11 ` [PATCH 2/2] omap: zoom: Move new code introduced by ASoC m-c to board-zoom-peripherals Jarkko Nikula
2010-09-23 16:15   ` Mark Brown
2010-09-24 16:31   ` Lopez Cruz, Misael
2010-09-24 17:30     ` Liam Girdwood
2010-10-01 22:39       ` Anand Gadiyar
2010-10-01 23:47         ` Lopez Cruz, Misael
2010-09-23 16:14 ` [PATCH 1/2] omap: zoom2: Fix ASoC multi-component build breakage by removing dead code Mark Brown
2010-09-28 21:03 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox