From patchwork Wed May 19 18:34:27 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 101009 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 o4JIY8cl009072 for ; Wed, 19 May 2010 18:34:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754116Ab0ESSeM (ORCPT ); Wed, 19 May 2010 14:34:12 -0400 Received: from mail.gmx.net ([213.165.64.20]:41094 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754044Ab0ESSeL (ORCPT ); Wed, 19 May 2010 14:34:11 -0400 Received: (qmail invoked by alias); 19 May 2010 18:34:10 -0000 Received: from p57BD1EDF.dip0.t-ipconnect.de (EHLO axis700.grange) [87.189.30.223] by mail.gmx.net (mp005) with SMTP; 19 May 2010 20:34:10 +0200 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX1/ghAs66XLgsDtiOoYDRf/rhXuhhzzKypFg+eAqnW GSIOWXrCwbZIHy Received: from lyakh (helo=localhost) by axis700.grange with local-esmtp (Exim 4.63) (envelope-from ) id 1OEo68-0002JM-00; Wed, 19 May 2010 20:34:28 +0200 Date: Wed, 19 May 2010 20:34:27 +0200 (CEST) From: Guennadi Liakhovetski To: Ian Molton cc: Andrew Morton , dan.j.williams@intel.com, Paul Mundt , Magnus Damm , sameo@linux.intel.com, "linux-sh@vger.kernel.org" , linux-mmc@vger.kernel.org Subject: [PATCH 7/10 v2] SH: Add SDHI DMA support to ecovec 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]); Wed, 19 May 2010 18:34:13 +0000 (UTC) diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 0e36b04..37d9efc 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -442,7 +443,9 @@ static void sdhi0_set_pwr(struct platform_device *pdev, int state) } static struct sh_mobile_sdhi_info sdhi0_info = { - .set_pwr = sdhi0_set_pwr, + .dma_slave_tx = SHDMA_SLAVE_SDHI0_TX, + .dma_slave_rx = SHDMA_SLAVE_SDHI0_RX, + .set_pwr = sdhi0_set_pwr, }; static struct resource sdhi0_resources[] = { @@ -478,7 +481,9 @@ static void sdhi1_set_pwr(struct platform_device *pdev, int state) } static struct sh_mobile_sdhi_info sdhi1_info = { - .set_pwr = sdhi1_set_pwr, + .dma_slave_tx = SHDMA_SLAVE_SDHI1_TX, + .dma_slave_rx = SHDMA_SLAVE_SDHI1_RX, + .set_pwr = sdhi1_set_pwr, }; static struct resource sdhi1_resources[] = {