linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] omap: zoom2/3: fix build caused by wl1271 support
@ 2010-10-01 20:33 Anand Gadiyar
  2010-10-01 23:10 ` Tony Lindgren
  0 siblings, 1 reply; 12+ messages in thread
From: Anand Gadiyar @ 2010-10-01 20:33 UTC (permalink / raw)
  To: linux-omap, linux-wireless; +Cc: Anand Gadiyar, Ohad Ben-Cohen, Tony Lindgren

Patch "omap: zoom: add mmc3/wl1271 device support" in the
wireless tree still uses .wires in struct omap2_hsmmc_info.
.wires has now been replaced with .caps in patch "omap: mmc:
extended to pass host capabilities from board file" in the
OMAP tree.

This causes linux-next as of 20101001 build to break as
below. Fix this.

  CC      arch/arm/mach-omap2/board-zoom-peripherals.o
arch/arm/mach-omap2/board-zoom-peripherals.c:217: error: unknown field 'wires' specified in initializer
make[1]: *** [arch/arm/mach-omap2/board-zoom-peripherals.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2

Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Cc: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Tony Lindgren <tony@atomide.com>
---
 arch/arm/mach-omap2/board-zoom-peripherals.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/arch/arm/mach-omap2/board-zoom-peripherals.c
===================================================================
--- linux-2.6.orig/arch/arm/mach-omap2/board-zoom-peripherals.c
+++ linux-2.6/arch/arm/mach-omap2/board-zoom-peripherals.c
@@ -214,7 +214,7 @@ static struct omap2_hsmmc_info mmc[] __i
 	{
 		.name		= "wl1271",
 		.mmc		= 3,
-		.wires		= 4,
+		.caps		= MMC_CAP_4_BIT_DATA,
 		.gpio_wp	= -EINVAL,
 		.gpio_cd	= -EINVAL,
 		.nonremovable	= true,

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

end of thread, other threads:[~2010-10-06 19:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-01 20:33 [PATCH] omap: zoom2/3: fix build caused by wl1271 support Anand Gadiyar
2010-10-01 23:10 ` Tony Lindgren
2010-10-05 11:53   ` Luciano Coelho
2010-10-05 12:07     ` Luciano Coelho
2010-10-05 13:19       ` Luciano Coelho
2010-10-05 20:39         ` Luciano Coelho
2010-10-06 13:52           ` John W. Linville
2010-10-06 14:01             ` Gadiyar, Anand
2010-10-06 15:27               ` Luciano Coelho
2010-10-06 15:30                 ` John W. Linville
2010-10-06 15:55                   ` Luciano Coelho
2010-10-06 19:34                     ` Luciano Coelho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).