From: Felipe Balbi Subject: Re: [PATCH 1/11] ARM: OMAP: Update MMC header to fix compile Date: Fri, 09 May 2008 04:51:35 -0500 Message-ID: <1d0d774ffcdd0ab0537d3b0917d42144@felipebalbi.com> References: omap-fixes-2008-05-08-154932 <1210286975-29506-1-git-send-email-tony@atomide.com> <1210286975-29506-2-git-send-email-tony@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: Received: from ns1.siteground211.com ([209.62.36.12]:50916 "EHLO serv01.siteground211.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753651AbYEIJvi (ORCPT ); Fri, 9 May 2008 05:51:38 -0400 In-Reply-To: <1210286975-29506-2-git-send-email-tony@atomide.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Tony Lindgren Cc: linux-arm-kernel@lists.arm.linux.org.uk, linux-omap@vger.kernel.org On Thu, 8 May 2008 15:49:25 -0700, Tony Lindgren wrote: > Update MMC header from linux-omap tree to match the recent > MMC driver updates. > > Signed-off-by: Tony Lindgren > --- > include/asm-arm/arch-omap/mmc.h | 26 ++++++++++++++++---------- > 1 files changed, 16 insertions(+), 10 deletions(-) > > diff --git a/include/asm-arm/arch-omap/mmc.h > b/include/asm-arm/arch-omap/mmc.h > index c9588f4..6dff38e 100644 > --- a/include/asm-arm/arch-omap/mmc.h > +++ b/include/asm-arm/arch-omap/mmc.h > @@ -15,21 +15,16 @@ > #include > #include > > +#include > + > #define OMAP_MMC_MAX_SLOTS 2 > > struct omap_mmc_platform_data { > - struct omap_mmc_conf conf; > + struct omap_mmc_conf conf; could you revert this line ? you converted the tab into spaces. > > - unsigned enabled:1; > /* number of slots on board */ > unsigned nr_slots:2; > - /* nomux means "standard" muxing is wrong on this board, and that > - * board-specific code handled it before common init logic. > - */ > - unsigned nomux:1; > - /* 4 wire signaling is optional, and is only used for SD/SDIO and > - * MMCv4 */ > - unsigned wire4:1; > + > /* set if your board has components or wiring that limits the > * maximum frequency on the MMC bus */ > unsigned int max_freq; > @@ -40,6 +35,11 @@ struct omap_mmc_platform_data { > * not supported */ > int (* init)(struct device *dev); > void (* cleanup)(struct device *dev); > + void (* shutdown)(struct device *dev); > + > + /* To handle board related suspend/resume functionality for MMC */ > + int (*suspend)(struct device *dev, int slot); > + int (*resume)(struct device *dev, int slot); > > struct omap_mmc_slot_data { > int (* set_bus_mode)(struct device *dev, int slot, int bus_mode); > @@ -56,13 +56,19 @@ struct omap_mmc_platform_data { > > const char *name; > u32 ocr_mask; > + > + /* Card detection IRQs */ > + int card_detect_irq; > + int (* card_detect)(int irq); > + > + unsigned int ban_openended:1; > + > } slots[OMAP_MMC_MAX_SLOTS]; > }; > > extern void omap_set_mmc_info(int host, const struct > omap_mmc_platform_data *info); > > /* called from board-specific card detection service routine */ > -extern void omap_mmc_notify_card_detect(struct device *dev, int slot, int > detected); > extern void omap_mmc_notify_cover_event(struct device *dev, int slot, int > is_closed); > > #endif > -- > 1.5.3.6 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards, Felipe Balbi http://felipebalbi.com me@felipebalbi.com