Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753153AbaJ0NjM (ORCPT ); Mon, 27 Oct 2014 09:39:12 -0400 Received: from mail-qc0-f181.google.com ([209.85.216.181]:57306 "EHLO mail-qc0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753119AbaJ0NjJ convert rfc822-to-8bit (ORCPT ); Mon, 27 Oct 2014 09:39:09 -0400 MIME-Version: 1.0 In-Reply-To: <1413883364-681-4-git-send-email-sebastian.hesselbarth@gmail.com> References: <1413883364-681-1-git-send-email-sebastian.hesselbarth@gmail.com> <1413883364-681-4-git-send-email-sebastian.hesselbarth@gmail.com> Date: Mon, 27 Oct 2014 14:39:04 +0100 Message-ID: Subject: Re: [PATCH RESEND 03/12] mmc: sdhci-pxav3: Move private driver data to driver source From: Ulf Hansson To: Sebastian Hesselbarth Cc: Chris Ball , =?UTF-8?Q?Antoine_T=C3=A9nart?= , linux-mmc , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21 October 2014 11:22, Sebastian Hesselbarth wrote: > struct sdhci_pxa is only used in sdhci_pxa driver itself, so move it > there. > > Signed-off-by: Sebastian Hesselbarth Thanks! Applied for next! Kind regards Uffe > --- > Cc: Chris Ball > Cc: Ulf Hansson > Cc: "Antoine Ténart" > Cc: linux-mmc@vger.kernel.org > Cc: devicetree@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > --- > drivers/mmc/host/sdhci-pxav3.c | 5 +++++ > include/linux/platform_data/pxa_sdhci.h | 5 ----- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c > index b55c807982fe..48bc8179c8fc 100644 > --- a/drivers/mmc/host/sdhci-pxav3.c > +++ b/drivers/mmc/host/sdhci-pxav3.c > @@ -58,6 +58,11 @@ > #define SDCE_MISC_INT (1<<2) > #define SDCE_MISC_INT_EN (1<<1) > > +struct sdhci_pxa { > + u8 clk_enable; > + u8 power_mode; > +}; > + > /* > * These registers are relative to the second register region, for the > * MBus bridge. > diff --git a/include/linux/platform_data/pxa_sdhci.h b/include/linux/platform_data/pxa_sdhci.h > index 27d3156d093a..9e20c2fb4ffd 100644 > --- a/include/linux/platform_data/pxa_sdhci.h > +++ b/include/linux/platform_data/pxa_sdhci.h > @@ -55,9 +55,4 @@ struct sdhci_pxa_platdata { > unsigned int quirks2; > unsigned int pm_caps; > }; > - > -struct sdhci_pxa { > - u8 clk_enable; > - u8 power_mode; > -}; > #endif /* _PXA_SDHCI_H_ */ > -- > 2.1.1 > -- 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/