From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934294AbcKIQvn (ORCPT ); Wed, 9 Nov 2016 11:51:43 -0500 Received: from mail-wm0-f41.google.com ([74.125.82.41]:35777 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933095AbcKIQvl (ORCPT ); Wed, 9 Nov 2016 11:51:41 -0500 Date: Wed, 9 Nov 2016 16:54:25 +0000 From: Lee Jones To: Kuninori Morimoto Cc: Mark Brown , Linux-ALSA , Simon , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Charles Keepax , Arnd Bergmann , anish kumar , Michael Trimarchi , Jacob Siverskog , "Damien.Horsley" , Jeremy McDermond , Bard Liao , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] mfd: davinci_voicecodec: tidyup header difinitions Message-ID: <20161109165425.GK13127@dell> References: <878ttafb84.wl%kuninori.morimoto.gx@renesas.com> <877f8ufb6b.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <877f8ufb6b.wl%kuninori.morimoto.gx@renesas.com> User-Agent: Mutt/1.6.2 (2016-07-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 27 Oct 2016, Kuninori Morimoto wrote: > > From: Kuninori Morimoto Please use `git send-mail` to submit your patches. > mach/hardware.h is needed on C source code side, not header. > And struct davinci_vc is duplicated definition. > > Signed-off-by: Kuninori Morimoto > --- > drivers/mfd/davinci_voicecodec.c | 1 + > include/linux/mfd/davinci_voicecodec.h | 4 ---- > 2 files changed, 1 insertion(+), 4 deletions(-) Nice. Applied, thanks. > diff --git a/drivers/mfd/davinci_voicecodec.c b/drivers/mfd/davinci_voicecodec.c > index dff2f19..4d0a5f3 100644 > --- a/drivers/mfd/davinci_voicecodec.c > +++ b/drivers/mfd/davinci_voicecodec.c > @@ -32,6 +32,7 @@ > #include > > #include > +#include > > static const struct regmap_config davinci_vc_regmap = { > .reg_bits = 32, > diff --git a/include/linux/mfd/davinci_voicecodec.h b/include/linux/mfd/davinci_voicecodec.h > index 8e1cdbe..2c0127c 100644 > --- a/include/linux/mfd/davinci_voicecodec.h > +++ b/include/linux/mfd/davinci_voicecodec.h > @@ -28,8 +28,6 @@ > #include > #include > > -#include > - > struct regmap; > > /* > @@ -99,8 +97,6 @@ struct davinci_vcif { > dma_addr_t dma_rx_addr; > }; > > -struct davinci_vc; > - > struct davinci_vc { > /* Device data */ > struct device *dev; -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog