Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932093AbdHYKkV (ORCPT ); Fri, 25 Aug 2017 06:40:21 -0400 Received: from mga09.intel.com ([134.134.136.24]:39113 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754518AbdHYKkU (ORCPT ); Fri, 25 Aug 2017 06:40:20 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,425,1498546800"; d="scan'208";a="1188059400" Date: Fri, 25 Aug 2017 13:40:15 +0300 From: Mika Westerberg To: Bin Meng Cc: Cyrille Pitchen , Boris Brezillon , Marek Vasut , Brian Norris , Richard Weinberger , David Woodhouse , linux-mtd , linux-kernel , Stefan Roese Subject: Re: [PATCH] spi-nor: intel-spi: Fix Kconfig dependency to LPC_ICH Message-ID: <20170825104015.GB2980@lahna.fi.intel.com> References: <1503648771-17514-1-git-send-email-bmeng.cn@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1503648771-17514-1-git-send-email-bmeng.cn@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 701 Lines: 25 On Fri, Aug 25, 2017 at 01:12:51AM -0700, Bin Meng wrote: > The Intel SPI-NOR driver is dependent on LPC_ICH to get the platform > data. Select it in the Kconfig. > > Signed-off-by: Bin Meng > --- > > drivers/mtd/spi-nor/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig > index bfdfb1e..e998800 100644 > --- a/drivers/mtd/spi-nor/Kconfig > +++ b/drivers/mtd/spi-nor/Kconfig > @@ -93,6 +93,7 @@ config SPI_INTEL_SPI_PLATFORM > tristate "Intel PCH/PCU SPI flash platform driver" if EXPERT > depends on X86 > select SPI_INTEL_SPI > + select LPC_ICH How about depends on X86 && LPC_ICH instead?