From patchwork Thu Feb 11 16:50:22 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 78741 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 o1BGmsKK022818 for ; Thu, 11 Feb 2010 16:49:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756400Ab0BKQtH (ORCPT ); Thu, 11 Feb 2010 11:49:07 -0500 Received: from mail.gmx.net ([213.165.64.20]:33583 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753336Ab0BKQtG (ORCPT ); Thu, 11 Feb 2010 11:49:06 -0500 Received: (qmail invoked by alias); 11 Feb 2010 16:49:03 -0000 Received: from p57BD1A89.dip0.t-ipconnect.de (EHLO axis700.grange) [87.189.26.137] by mail.gmx.net (mp039) with SMTP; 11 Feb 2010 17:49:03 +0100 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX1+bF6dNKuSbt6ihTHXDIpqlN/ftyRu2nxcXQ3FDm5 V+wPmHqsT/IAM1 Received: from lyakh (helo=localhost) by axis700.grange with local-esmtp (Exim 4.63) (envelope-from ) id 1NfcFC-00020r-Ad; Thu, 11 Feb 2010 17:50:22 +0100 Date: Thu, 11 Feb 2010 17:50:22 +0100 (CET) From: Guennadi Liakhovetski To: "linux-sh@vger.kernel.org" cc: Dan Williams , Paul Mundt Subject: [PATCH 5/5] sh: activate runtime PM for dmaengine on sh7722 and sh7724 In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Y-GMX-Trusted: 0 X-FuHaFi: 0.56999999999999995 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, 11 Feb 2010 16:49:08 +0000 (UTC) diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c index 3ce06c3..2b94281 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c @@ -163,6 +163,9 @@ struct platform_device dma_device = { .dev = { .platform_data = &dma_platform_data, }, + .archdata = { + .hwblk_id = HWBLK_DMAC, + }, }; /* Serial */ diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c index cf829bf..ddc5694 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c @@ -189,6 +189,9 @@ static struct platform_device dma0_device = { .dev = { .platform_data = &dma0_platform_data, }, + .archdata = { + .hwblk_id = HWBLK_DMAC0, + }, }; static struct platform_device dma1_device = { @@ -199,6 +202,9 @@ static struct platform_device dma1_device = { .dev = { .platform_data = &dma1_platform_data, }, + .archdata = { + .hwblk_id = HWBLK_DMAC1, + }, }; /* Serial */