From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753828AbbFXORe (ORCPT ); Wed, 24 Jun 2015 10:17:34 -0400 Received: from mail-wg0-f53.google.com ([74.125.82.53]:35186 "EHLO mail-wg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752816AbbFXOR2 (ORCPT ); Wed, 24 Jun 2015 10:17:28 -0400 Date: Wed, 24 Jun 2015 15:17:22 +0100 From: Lee Jones To: Paul Gortmaker Cc: linux-kernel@vger.kernel.org, Javier Martinez Canillas , Heiko Stuebner , Olof Johansson , Samuel Ortiz Subject: Re: [PATCH] mfd: fix dependency warning for CHROME_PLATFORMS on !X86, !ARM Message-ID: <20150624141722.GP15013@x1> References: <1434844916-5412-1-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1434844916-5412-1-git-send-email-paul.gortmaker@windriver.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 20 Jun 2015, 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) > > Presumably the above means MFD_CROS_EC is only currently useful > on x86 and ARM, so lets limit it to there. > > Cc: Lee Jones > Cc: Javier Martinez Canillas > Cc: Heiko Stuebner > Cc: Olof Johansson > Cc: Samuel Ortiz > Signed-off-by: Paul Gortmaker > --- > drivers/mfd/Kconfig | 1 + > 1 file changed, 1 insertion(+) Applied, thanks. > diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig > index 653815950aa2..d3235e6f1953 100644 > --- a/drivers/mfd/Kconfig > +++ b/drivers/mfd/Kconfig > @@ -94,6 +94,7 @@ config MFD_AXP20X > > config MFD_CROS_EC > tristate "ChromeOS Embedded Controller" > + depends on X86 || ARM > select MFD_CORE > select CHROME_PLATFORMS > select CROS_EC_PROTO -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog