Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756600AbdHYML5 (ORCPT ); Fri, 25 Aug 2017 08:11:57 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:37684 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754738AbdHYML4 (ORCPT ); Fri, 25 Aug 2017 08:11:56 -0400 MIME-Version: 1.0 In-Reply-To: <20170825104015.GB2980@lahna.fi.intel.com> References: <1503648771-17514-1-git-send-email-bmeng.cn@gmail.com> <20170825104015.GB2980@lahna.fi.intel.com> From: Bin Meng Date: Fri, 25 Aug 2017 20:11:54 +0800 Message-ID: Subject: Re: [PATCH] spi-nor: intel-spi: Fix Kconfig dependency to LPC_ICH To: Mika Westerberg Cc: Cyrille Pitchen , Boris Brezillon , Marek Vasut , Brian Norris , Richard Weinberger , David Woodhouse , linux-mtd , linux-kernel , Stefan Roese Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 975 Lines: 35 Hi Mika, On Fri, Aug 25, 2017 at 6:40 PM, Mika Westerberg wrote: > 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? Other LPC_ICH users (like gpio, watchdog) use the 'select' logic, so I would prefer to keep things consistent. Regards, Bin