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: 18289 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gg0-f200.google.com (mail-gg0-f200.google.com [209.85.161.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6D1B525DFF for ; Tue, 9 Jul 2013 14:38:07 +0000 (UTC) Received: by mail-gg0-f200.google.com with SMTP id k5sf6310286ggd.7 for ; Tue, 09 Jul 2013 07:38:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=0Xp4i2+HDpsSGZ6dmba7FkEyMRK6Tp4+/GAbIDHlt8s=; b=ZZjhAKhkeXsuFHshqBUfsBQzRbJ9uy/lTEraF5mvC0/9sq97ICrEaP0OPMFaCmJl43 6vJdSPQ9DHDY7SODAbl0hFsBKWMfPmEMRBjPPBQ6z7wdLiIAo2Y5cljSx02Uh+yW4Uy4 L9s+8VHIEoudRDVUiYK3zW3VA6fdmpc5Xhafu305zoAcjy4Mdwg0K2reqKRhzr9itmNq ADOV2zpPpMJcsqWh2F3eQcK/R+yLt9GsbZAeVHXkNtOqnSKOOpCsS3M4c6FP/WkOz7py MdrwHYr/NEeVLp/1TiyVMC1gHDuUm/TEJUfRWRM3aAXNHtRLXPvDBtX6vQ7rrN9UdU/t iAWg== X-Received: by 10.236.78.198 with SMTP id g46mr14523567yhe.56.1373380687167; Tue, 09 Jul 2013 07:38:07 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.95.138 with SMTP id dk10ls2307685qeb.4.gmail; Tue, 09 Jul 2013 07:38:07 -0700 (PDT) X-Received: by 10.58.67.9 with SMTP id j9mr16736680vet.22.1373380687080; Tue, 09 Jul 2013 07:38:07 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id o7si7763507vet.55.2013.07.09.07.38.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Jul 2013 07:38:07 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id hr11so4422625vcb.34 for ; Tue, 09 Jul 2013 07:38:07 -0700 (PDT) X-Received: by 10.220.164.138 with SMTP id e10mr16534004vcy.27.1373380687001; Tue, 09 Jul 2013 07:38:07 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.149.77 with SMTP id s13csp33577vcv; Tue, 9 Jul 2013 07:38:06 -0700 (PDT) X-Received: by 10.180.74.232 with SMTP id x8mr31975208wiv.48.1373380686130; Tue, 09 Jul 2013 07:38:06 -0700 (PDT) Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by mx.google.com with ESMTPS id q5si8691389wja.30.2013.07.09.07.38.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Jul 2013 07:38:06 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.54 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.54; Received: by mail-wg0-f54.google.com with SMTP id n11so4957832wgh.9 for ; Tue, 09 Jul 2013 07:38:05 -0700 (PDT) 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 Cc: arnd@arndb.de, linus.walleij@stericsson.com, srinidhi.kasagar@stericsson.com, hi@hello.com, Guennadi Liakhovetski , Guennadi Liakhovetski , Vinod Koul 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: ALoCoQn32mBUVqYzlnkw9P1cxg0PhLrmWN+zsoVuL/hglxDwQjYvO/CEB+Hu+U2ujlYperR9Y7s0 X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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