Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754059AbbFXWHV (ORCPT ); Wed, 24 Jun 2015 18:07:21 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:58019 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753691AbbFXWHI (ORCPT ); Wed, 24 Jun 2015 18:07:08 -0400 Message-ID: <558B2A09.3020407@codeaurora.org> Date: Wed, 24 Jun 2015 15:07:05 -0700 From: Stephen Boyd User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Srinivas Kandagatla , linux-arm-kernel@lists.infradead.org, Greg Kroah-Hartman CC: Maxime Ripard , Rob Herring , Kumar Gala , Mark Brown , s.hauer@pengutronix.de, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, arnd@arndb.de, pantelis.antoniou@konsulko.com, mporter@konsulko.com, stefan.wahren@i2se.com, wxt@rock-chips.com Subject: Re: [PATCH v6 6/9] nvmem: qfprom: Add Qualcomm QFPROM support. References: <1435014459-26138-1-git-send-email-srinivas.kandagatla@linaro.org> <1435014556-26392-1-git-send-email-srinivas.kandagatla@linaro.org> In-Reply-To: <1435014556-26392-1-git-send-email-srinivas.kandagatla@linaro.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1180 Lines: 53 On 06/22/2015 04:09 PM, Srinivas Kandagatla wrote: > diff --git a/drivers/nvmem/qfprom.c b/drivers/nvmem/qfprom.c > new file mode 100644 > index 0000000..7f7a82f > --- /dev/null > +++ b/drivers/nvmem/qfprom.c > @@ -0,0 +1,89 @@ > > + > +#include > +#include > +#include > +#include > +#include > +#include Is this include used? > +#include > +#include Is this include used? > +#include > + > +static struct regmap_config qfprom_regmap_config = { Can this be const? > + .reg_bits = 32, > + .val_bits = 8, > + .reg_stride = 1, > +}; > + > +static struct nvmem_config econfig = { And this one too? > + .name = "qfprom", > + .owner = THIS_MODULE, > +}; > + -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- 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/