From patchwork Thu May 13 14:15:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 99321 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4DEFTR1026448 for ; Thu, 13 May 2010 14:15:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757813Ab0EMOPh (ORCPT ); Thu, 13 May 2010 10:15:37 -0400 Received: from mail.gmx.net ([213.165.64.20]:43836 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1757293Ab0EMOPg (ORCPT ); Thu, 13 May 2010 10:15:36 -0400 Received: (qmail invoked by alias); 13 May 2010 14:15:29 -0000 Received: from p57BD1E9B.dip0.t-ipconnect.de (EHLO axis700.grange) [87.189.30.155] by mail.gmx.net (mp047) with SMTP; 13 May 2010 16:15:29 +0200 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX1/eF7wSFJzez9EFjh2DYuBJkxMm+4NkMOfgPtF38D IdIZWV6m69tdFc Received: from lyakh (helo=localhost) by axis700.grange with local-esmtp (Exim 4.63) (envelope-from ) id 1OCZCM-0001zy-6h; Thu, 13 May 2010 16:15:38 +0200 Date: Thu, 13 May 2010 16:15:38 +0200 (CEST) From: Guennadi Liakhovetski To: Ian Molton cc: Andrew Morton , mm-commits@vger.kernel.org, dan.j.williams@intel.com, Paul Mundt , Magnus Damm , Russell King , sameo@linux.intel.com, "linux-sh@vger.kernel.org" , linux-mmc@vger.kernel.org Subject: [PATCH 4a/9 v4] mmc: prepare tmio_mmc for passing of DMA configuration from the MFD cell In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Y-GMX-Trusted: 0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 13 May 2010 14:15:38 +0000 (UTC) diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index c3f7dff..360fc95 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h @@ -55,12 +55,18 @@ int tmio_core_mmc_resume(void __iomem *cnf, int shift, unsigned long base); void tmio_core_mmc_pwr(void __iomem *cnf, int shift, int state); void tmio_core_mmc_clk_div(void __iomem *cnf, int shift, int state); +struct tmio_mmc_dma { + void *chan_priv_tx; + void *chan_priv_rx; +}; + /* * data for the MMC controller */ struct tmio_mmc_data { unsigned int hclk; unsigned long capabilities; + struct tmio_mmc_dma *dma; void (*set_pwr)(struct platform_device *host, int state); void (*set_clk_div)(struct platform_device *host, int state); };