From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965304AbcAZLTx (ORCPT ); Tue, 26 Jan 2016 06:19:53 -0500 Received: from mail-wm0-f50.google.com ([74.125.82.50]:33903 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933389AbcAZLTt (ORCPT ); Tue, 26 Jan 2016 06:19:49 -0500 Message-ID: <56A75653.8080902@linaro.org> Date: Tue, 26 Jan 2016 11:19:47 +0000 From: Srinivas Kandagatla User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Richard Weinberger , linux-kernel@vger.kernel.org CC: user-mode-linux-devel@lists.sourceforge.net, Maxime Ripard Subject: Re: [PATCH 12/22] nvmem: Fix dependencies for !HAS_IOMEM archs References: <1453760661-1444-1-git-send-email-richard@nod.at> <1453760661-1444-13-git-send-email-richard@nod.at> In-Reply-To: <1453760661-1444-13-git-send-email-richard@nod.at> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/01/16 22:24, Richard Weinberger wrote: > Not every arch has io memory. > So, unbreak the build by fixing the dependencies. > > Signed-off-by: Richard Weinberger Acked-by: Srinivas Kandagatla Am happy to pick this one, unless you have plans to get all these patches merged via a single tree. Thanks, srini > --- > drivers/nvmem/Kconfig | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig > index bc4ea58..c675ee9 100644 > --- a/drivers/nvmem/Kconfig > +++ b/drivers/nvmem/Kconfig > @@ -28,6 +28,7 @@ config NVMEM_IMX_OCOTP > config NVMEM_MXS_OCOTP > tristate "Freescale MXS On-Chip OTP Memory Support" > depends on ARCH_MXS || COMPILE_TEST > + depends on HAS_IOMEM > help > If you say Y here, you will get readonly access to the > One Time Programmable memory pages that are stored > @@ -39,6 +40,7 @@ config NVMEM_MXS_OCOTP > config QCOM_QFPROM > tristate "QCOM QFPROM Support" > depends on ARCH_QCOM || COMPILE_TEST > + depends on HAS_IOMEM > select REGMAP_MMIO > help > Say y here to enable QFPROM support. The QFPROM provides access > @@ -50,6 +52,7 @@ config QCOM_QFPROM > config ROCKCHIP_EFUSE > tristate "Rockchip eFuse Support" > depends on ARCH_ROCKCHIP || COMPILE_TEST > + depends on HAS_IOMEM > help > This is a simple drive to dump specified values of Rockchip SoC > from eFuse, such as cpu-leakage. > @@ -71,6 +74,7 @@ config NVMEM_SUNXI_SID > config NVMEM_VF610_OCOTP > tristate "VF610 SoC OCOTP support" > depends on SOC_VF610 || COMPILE_TEST > + depends on HAS_IOMEM > help > This is a driver for the 'OCOTP' peripheral available on Vybrid > devices like VF5xx and VF6xx. >