From patchwork Tue Jul 9 14:37:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 2825324 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id AE391C0AB2 for ; Tue, 9 Jul 2013 14:40:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6A619201BE for ; Tue, 9 Jul 2013 14:40:34 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 956992018D for ; Tue, 9 Jul 2013 14:40:32 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwZ4E-00035E-Kx; Tue, 09 Jul 2013 14:38:59 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwZ3z-0001iK-7P; Tue, 09 Jul 2013 14:38:43 +0000 Received: from mail-wi0-f172.google.com ([209.85.212.172]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwZ3l-0001fM-3i for linux-arm-kernel@lists.infradead.org; Tue, 09 Jul 2013 14:38:30 +0000 Received: by mail-wi0-f172.google.com with SMTP id c10so10253649wiw.17 for ; Tue, 09 Jul 2013 07:38:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=0Xp4i2+HDpsSGZ6dmba7FkEyMRK6Tp4+/GAbIDHlt8s=; b=NQ2mTo1+88BEAml66YsFfGSFgY2YYCGygsB1TkGBhISHLGIbYSUUych7wGJ+qvoDc6 DjcQKQs/EktxYtsukNhL1d6BI6XOD6BH0STFw3yNQz4VOWDAFBt3Wv9D9f9TIgptzVvh vGJDHyPZb5Wa71MVIAVpI6Du+Pm80biBs+hJcq32xSVMGEPd8KOnG1IdJy5tD+4bpvcG SNBcmh1KEQ0UzF2VIA/6wKii96eukNO3szqLesf1rN72K51towROTcifm/41JpPStX5S 6ioyTYfW0U61/TSn1e4gq4wWST7x+RlQPDsLe1aCcuTkQP9+lh69BLbEr7+fgjJFlyaU WDaw== X-Received: by 10.180.189.208 with SMTP id gk16mr32407570wic.9.1373380685698; Tue, 09 Jul 2013 07:38:05 -0700 (PDT) Received: from localhost.localdomain ([193.120.41.115]) by mx.google.com with ESMTPSA id b20sm30380125wiw.4.2013.07.09.07.38.03 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Jul 2013 07:38:04 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] DMA: shdma: shdma_chan_filter() has to be in shdma-base.h Date: Tue, 9 Jul 2013 15:37:55 +0100 Message-Id: <1373380677-450-3-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1373380677-450-1-git-send-email-lee.jones@linaro.org> References: <1373380677-450-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmyTrfu+fa8ioXV2XigIJaPrw2ex05ZeKthwdbT4oSPJAfCQuOYNb5Yhr4Rgr3vYOUYRbhf X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130709_103829_365773_166128CD X-CRM114-Status: GOOD ( 10.76 ) X-Spam-Score: -1.8 (-) Cc: hi@hello.com, linus.walleij@stericsson.com, arnd@arndb.de, srinidhi.kasagar@stericsson.com, Vinod Koul , Guennadi Liakhovetski , Guennadi Liakhovetski X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_WEB,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: Guennadi Liakhovetski shdma_chan_filter() is a function, provided by the shdma-base.c module, move its declaration to the appropriate header. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Vinod Koul --- include/linux/sh_dma.h | 2 -- include/linux/shdma-base.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/sh_dma.h b/include/linux/sh_dma.h index b64d6be..4e83f3e 100644 --- a/include/linux/sh_dma.h +++ b/include/linux/sh_dma.h @@ -99,6 +99,4 @@ struct sh_dmae_pdata { #define CHCR_TE 0x00000002 #define CHCR_IE 0x00000004 -bool shdma_chan_filter(struct dma_chan *chan, void *arg); - #endif diff --git a/include/linux/shdma-base.h b/include/linux/shdma-base.h index a3728bf..9a93897 100644 --- a/include/linux/shdma-base.h +++ b/include/linux/shdma-base.h @@ -122,5 +122,6 @@ void shdma_chan_remove(struct shdma_chan *schan); int shdma_init(struct device *dev, struct shdma_dev *sdev, int chan_num); void shdma_cleanup(struct shdma_dev *sdev); +bool shdma_chan_filter(struct dma_chan *chan, void *arg); #endif