From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: Errors at boot time from OMAP4430SDP (and a whinge about serial stuff) Date: Tue, 23 Oct 2012 18:54:19 -0700 Message-ID: <20121024015418.GC5605@atomide.com> References: <20121012155434.GO28061@n2100.arm.linux.org.uk> <20121012162452.GD30339@atomide.com> <20121016181038.GC15569@atomide.com> <20121016182642.GF15569@atomide.com> <507EA7DB.3070207@compulab.co.il> <20121019170759.GK4730@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-04-ewr.mailhop.org ([204.13.248.74]:17864 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754694Ab2JXByY (ORCPT ); Tue, 23 Oct 2012 21:54:24 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Ohad Ben-Cohen Cc: Igor Grinberg , Russell King - ARM Linux , linux-omap@vger.kernel.org, Santosh Shilimkar , "Cousson, Benoit" , Paul Walmsley , Kevin Hilman , Afzal Mohammed , =?utf-8?B?UMOpdGVy?= Ujfalusi * Ohad Ben-Cohen [121021 07:56]: > On Fri, Oct 19, 2012 at 7:07 PM, Tony Lindgren wrote: > --- a/arch/arm/mach-davinci/board-da850-evm.c > +++ b/arch/arm/mach-davinci/board-da850-evm.c > @@ -1401,13 +1401,9 @@ static __init int da850_wl12xx_init(void) > goto free_wlan_en; > } > > - da850_wl12xx_wlan_data.irq = gpio_to_irq(DA850_WLAN_IRQ); > - > - ret = wl12xx_set_platform_data(&da850_wl12xx_wlan_data); > - if (ret) { > - pr_err("Could not set wl12xx data: %d\n", ret); > + ret = wl12xx_board_init(&da850_wl12xx_wlan_data, DA850_WLAN_IRQ); > + if (ret) > goto free_wlan_irq; > - } > > return 0; I don't think mach-davinci has wl12xx_board_init() available? Maybe leave this out or define also also somewhere for mach-davinci? Regards, Tony