Return-path: Received: from smtp.nokia.com ([147.243.1.48]:28895 "EHLO mgw-sa02.nokia.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753524Ab0KHJPN (ORCPT ); Mon, 8 Nov 2010 04:15:13 -0500 Subject: Re: [PATCH 3/3] wl1251: use wl12xx_platform_data to pass data From: Luciano Coelho To: ext Kalle Valo , Grazvydas Ignotas Cc: "linux-wireless@vger.kernel.org" , "John W. Linville" , Tony Lindgren , Ohad Ben-Cohen In-Reply-To: <874obtzauz.fsf@purkki.adurom.net> References: <1288822429-24541-1-git-send-email-notasas@gmail.com> <1288822429-24541-4-git-send-email-notasas@gmail.com> <874obtzauz.fsf@purkki.adurom.net> Content-Type: text/plain; charset="UTF-8" Date: Mon, 08 Nov 2010 11:14:48 +0200 Message-ID: <1289207688.8423.14.camel@chilepepper> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Sun, 2010-11-07 at 11:28 +0100, ext Kalle Valo wrote: > Grazvydas Ignotas writes: > > > Make use the newly added method to pass platform data for wl1251 too. > > This allows to eliminate some redundant code. > > > > Cc: Tony Lindgren > > Cc: Ohad Ben-Cohen > > Signed-off-by: Grazvydas Ignotas > > For the wl1251 part: > > Acked-by: Kalle Valo > > > --- > > This touches arch/arm/mach-omap2/* but I think it should go through > > the wireless tree to avoid cross-tree dependencies, if Tony and others > > are ok with this. > > I agree, better to push this through the wireless tree. > > > arch/arm/mach-omap2/board-omap3pandora.c | 32 +++++++------------------- > > drivers/net/wireless/wl1251/sdio.c | 35 +---------------------------- > > drivers/net/wireless/wl12xx/Kconfig | 2 +- > > We need to CC Luciano for the wl12xx change. > > > --- a/drivers/net/wireless/wl12xx/Kconfig > > +++ b/drivers/net/wireless/wl12xx/Kconfig > > @@ -42,5 +42,5 @@ config WL1271_SDIO > > > > config WL12XX_PLATFORM_DATA > > bool > > - depends on WL1271_SDIO != n > > + depends on WL1271_SDIO != n || WL1251_SDIO != n > > default y > > Oh, I didn't take this into account when I moved wl1251 out from the > wl12xx directory. Now wl1251 has a dependency to wl12xx stuff. > > Oh well, it's a small issue. I guess we can live with that :) Yeah, I didn't realize this either. I think we can live with that, but at some point we should clean this up and either have separate platform data for wl1251 and wl12xx or move the the platform data one level up, to wireless. But for now: Acked-by: Luciano Coelho And I agree with pushing this through wireless-testing as well, if it's okay with Tony and John. -- Cheers, Luca.