diff options
author | Jarkko Nikula <jhnikula@gmail.com> | 2010-09-23 12:11:53 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-09-24 13:29:08 -0400 |
commit | 2c8e992716b3adff52846e2280731b533db592ff (patch) | |
tree | defae8e2790d97ccd9d1c23e787f62cf8451e91f /arch/arm/mach-omap2/board-zoom2.c | |
parent | fc38a8a11d332549e4de0537ba34f197cf42788b (diff) |
omap: zoom2: Fix ASoC multi-component build breakage by removing dead code
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>
Tested-by: Misael Lopez Cruz <misael.lopez@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'arch/arm/mach-omap2/board-zoom2.c')
-rw-r--r-- | 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 efbcd8fb21ec..86d4515b54b4 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) | |||
41 | gpio_set_value(ZOOM2_HEADSET_EXTMUTE_GPIO, mute); | 41 | gpio_set_value(ZOOM2_HEADSET_EXTMUTE_GPIO, mute); |
42 | } | 42 | } |
43 | 43 | ||
44 | static struct twl4030_madc_platform_data zoom2_madc_data = { | ||
45 | .irq_line = 1, | ||
46 | }; | ||
47 | |||
48 | static struct twl4030_codec_audio_data zoom2_audio_data = { | 44 | static struct twl4030_codec_audio_data zoom2_audio_data = { |
49 | .audio_mclk = 26000000, | 45 | .audio_mclk = 26000000, |
50 | .ramp_delay_value = 3, /* 161 ms */ | 46 | .ramp_delay_value = 3, /* 161 ms */ |
@@ -62,15 +58,7 @@ static struct twl4030_platform_data zoom2_twldata = { | |||
62 | .irq_end = TWL4030_IRQ_END, | 58 | .irq_end = TWL4030_IRQ_END, |
63 | 59 | ||
64 | /* platform_data for children goes here */ | 60 | /* platform_data for children goes here */ |
65 | .bci = &zoom2_bci_data, | ||
66 | .madc = &zoom2_madc_data, | ||
67 | .usb = &zoom2_usb_data, | ||
68 | .gpio = &zoom2_gpio_data, | ||
69 | .keypad = &zoom2_kp_twl4030_data, | ||
70 | .codec = &zoom2_codec_data, | 61 | .codec = &zoom2_codec_data, |
71 | .vmmc1 = &zoom2_vmmc1, | ||
72 | .vmmc2 = &zoom2_vmmc2, | ||
73 | .vsim = &zoom2_vsim, | ||
74 | }; | 62 | }; |
75 | 63 | ||
76 | static struct i2c_board_info __initdata zoom2_i2c_boardinfo[] = { | 64 | static struct i2c_board_info __initdata zoom2_i2c_boardinfo[] = { |