Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753563AbbFXOaP (ORCPT ); Wed, 24 Jun 2015 10:30:15 -0400 Received: from bhuna.collabora.co.uk ([93.93.135.160]:43526 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752620AbbFXOaJ (ORCPT ); Wed, 24 Jun 2015 10:30:09 -0400 Message-ID: <558ABEEC.3040901@collabora.co.uk> Date: Wed, 24 Jun 2015 16:30:04 +0200 From: Javier Martinez Canillas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-Version: 1.0 To: =?windows-1252?Q?Heiko_St=FCbner?= , Lee Jones CC: Paul Gortmaker , linux-kernel@vger.kernel.org, Olof Johansson , Samuel Ortiz Subject: Re: [PATCH] mfd: fix dependency warning for CHROME_PLATFORMS on !X86, !ARM References: <1434844916-5412-1-git-send-email-paul.gortmaker@windriver.com> <5586027E.50304@collabora.co.uk> <20150624141750.GQ15013@x1> <1921214.Eo3JuLmrvN@diego> In-Reply-To: <1921214.Eo3JuLmrvN@diego> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2117 Lines: 52 On 06/24/2015 04:21 PM, Heiko St?bner wrote: > Am Mittwoch, 24. Juni 2015, 15:17:50 schrieb Lee Jones: >> On Sun, 21 Jun 2015, Javier Martinez Canillas wrote: >> > Hello Paul, >> > >> > On 06/21/2015 02:01 AM, Paul Gortmaker wrote: >> > > In commit 062476f24aa7cf714169342cc50626fd9bbb93da ("mfd: cros_ec: >> > > Move protocol helpers out of the MFD driver") there was a select >> > > added on CHROME_PLATFORMS, which leads to the following for ppc/mips: >> > > >> > > warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet >> > > direct dependencies (X86 || ARM) >> > >> > Right, sorry for missing that and thank a lot for taking care of it. >> > >> > > Presumably the above means MFD_CROS_EC is only currently useful >> > > on x86 and ARM, so lets limit it to there. >> > >> > That is correct, although I wonder if CHROME_PLATFORMS should not >> > also depend on || COMPILE_TEST and same for MFD_CROS_EC so those >> > have at least build coverage on other architectures. >> > >> > I can't think for a reason to not be buildable on other archs... >> >> Right. Will you fix that Javier? > Yes, I was waiting to see if Paul agreed and wanted to re-spin his patches or if anyone else had other opinions. > looking at the ChromeOS kernel tree (3.18 / oak) it looks like ARM64 might > also be a nice addition to this list, but I'm not sure if there are more ec > changes involved. > Right, on a second thought I wonder if having CHROME_PLATFORMS depends on depends on X86 || ARM even makes sense. I see that the individual drivers already depend on a certain architecture. i.e: CROS_EC_LPC on x86 because LPC is only found on x86, etc. So maybe we can just remove the constrain from CHROME_PLATFORMS and let it be selected on all architectures if someone choose to. I'll double check and post a patch on top of Paul's tomorrow. Best regards, Javier -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/