From patchwork Tue Feb 24 00:54:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 5868691 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C8450BF440 for ; Tue, 24 Feb 2015 00:54:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ED9E12064C for ; Tue, 24 Feb 2015 00:54:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1170F2064E for ; Tue, 24 Feb 2015 00:54:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752600AbbBXAyW (ORCPT ); Mon, 23 Feb 2015 19:54:22 -0500 Received: from relmlor3.renesas.com ([210.160.252.173]:38835 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752700AbbBXAyV (ORCPT ); Mon, 23 Feb 2015 19:54:21 -0500 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie2.idc.renesas.com with ESMTP; 24 Feb 2015 09:54:20 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 81E514557A; Tue, 24 Feb 2015 09:54:20 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id 618422806E; Tue, 24 Feb 2015 09:54:20 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 572B62806D; Tue, 24 Feb 2015 09:54:20 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac2.idc.renesas.com with ESMTP id KAA18920; Tue, 24 Feb 2015 09:54:20 +0900 X-IronPort-AV: E=Sophos;i="5.09,634,1418050800"; d="scan'208";a="181593931" Received: from mail-hk1lp0122.outbound.protection.outlook.com (HELO APAC01-HK1-obe.outbound.protection.outlook.com) ([207.46.51.122]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 24 Feb 2015 09:54:19 +0900 Received: from HKNPR06MB164.apcprd06.prod.outlook.com (10.242.104.21) by HKNPR06MB289.apcprd06.prod.outlook.com (10.141.37.13) with Microsoft SMTP Server (TLS) id 15.1.93.16; Tue, 24 Feb 2015 00:54:19 +0000 Received: from remon.renesas.com (211.11.155.132) by HKNPR06MB164.apcprd06.prod.outlook.com (10.242.104.21) with Microsoft SMTP Server (TLS) id 15.1.93.16; Tue, 24 Feb 2015 00:54:16 +0000 Message-ID: <87bnkk162d.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Vinod Koul , Geert Uytterhoeven CC: Simon , Mark Brown , Linux-SH , Linux-ALSA , "Liam Girdwood" , Laurent , Arnd Bergmann , In-Reply-To: <87egpkop98.wl%kuninori.morimoto.gx@renesas.com> References: <87fva0opax.wl%kuninori.morimoto.gx@renesas.com> <87egpkop98.wl%kuninori.morimoto.gx@renesas.com> Subject: [PATCH 01/28 v3] dmaengine: export symbol of of_dma_request_slave_channel() User-Agent: Wanderlust/2.14.0 Emacs/23.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Date: Tue, 24 Feb 2015 00:54:16 +0000 X-Originating-IP: [211.11.155.132] X-ClientProxiedBy: HKNPR06CA0029.apcprd06.prod.outlook.com (10.141.16.19) To HKNPR06MB164.apcprd06.prod.outlook.com (10.242.104.21) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; X-Microsoft-Antispam: UriScan:;UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:HKNPR06MB164; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005003); SRVR:HKNPR06MB164; X-Forefront-PRVS: 04976078F0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(101416001)(77156002)(97736003)(23726002)(62966003)(229853001)(83506001)(81156004)(105586002)(86362001)(36756003)(46406003)(106356001)(50466002)(19580395003)(92566002)(87976001)(53416004)(68736005)(46102003)(42186005)(40100003)(66066001)(69596002)(50986999)(19580405001)(122386002)(2950100001)(54356999)(76176999)(47776003)(33646002)(77096005)(64706001); DIR:OUT; SFP:1102; SCL:1; SRVR:HKNPR06MB164; H:remon.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:;SRVR:HKNPR06MB164; X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2015 00:54:16.5607 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKNPR06MB164 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:HKNPR06MB289; X-OriginatorOrg: renesas.com Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto Current DMAEngine implementation of DT bindings can't support DT subnode. This patch export symbols of of_dma_request_slave_channel() for subnode DMA DT bingings. ex) rcar_sound: rcar_sound@ec500000 { ... rcar_sound,dvc { dvc0: dvc@0 { dmas = <&audma0 0xbc>; dma-names = "tx"; }; dvc1: dvc@1 { dmas = <&audma0 0xbe>; dma-names = "tx"; }; }; ... }; Signed-off-by: Kuninori Morimoto Acked-by: Vinod Koul --- v2 -> v3 - don't remove export from of_dma.h drivers/dma/of-dma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/of-dma.c b/drivers/dma/of-dma.c index ca31f1b..cbd4a8a 100644 --- a/drivers/dma/of-dma.c +++ b/drivers/dma/of-dma.c @@ -194,6 +194,7 @@ struct dma_chan *of_dma_request_slave_channel(struct device_node *np, return ERR_PTR(ret_no_channel); } +EXPORT_SYMBOL_GPL(of_dma_request_slave_channel); /** * of_dma_simple_xlate - Simple DMA engine translation function