Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751999AbbFXJhz (ORCPT ); Wed, 24 Jun 2015 05:37:55 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:34351 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751160AbbFXJhr (ORCPT ); Wed, 24 Jun 2015 05:37:47 -0400 Message-ID: <558A7A67.806@linaro.org> Date: Wed, 24 Jun 2015 10:37:43 +0100 From: Srinivas Kandagatla User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: maitysanchayan@gmail.com, Stefan Wahren CC: maxime.ripard@free-electrons.com, linux-arm-kernel@lists.infradead.org, stefan@agner.ch, kernel@pengutronix.de, linux-kernel@vger.kernel.org, shawn.guo@linaro.org, arnd@arndb.de Subject: Re: [RFC PATCH v6 2/2] nvmem: Add Vybrid OCOTP and OCROM support References: <1037424954.250728.1435087901102.JavaMail.open-xchange@oxbsltgw00.schlund.de> <20150624051903.GA11753@Sanchayan-Arch.toradex.int> In-Reply-To: <20150624051903.GA11753@Sanchayan-Arch.toradex.int> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 625 Lines: 17 On 24/06/15 06:19, maitysanchayan@gmail.com wrote: > I just tested it without the "select REGMAP_MMIO" and it works just fine. You just got lucky in this case, as REGMAP_MMIO is getting selected somewhere else. Drivers should directly select the dependecies. In this case this driver actually is going to use REGMAP_MMIO, so keeping it selected is the right thing. --srini -- 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/