From patchwork Mon Dec 16 08:12:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Popov X-Patchwork-Id: 3352191 X-Patchwork-Delegate: vinod.koul@intel.com Return-Path: X-Original-To: patchwork-dmaengine@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 0658AC0D4A for ; Mon, 16 Dec 2013 08:08:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BC8192035E for ; Mon, 16 Dec 2013 08:08:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9B55C20375 for ; Mon, 16 Dec 2013 08:08:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752521Ab3LPIIk (ORCPT ); Mon, 16 Dec 2013 03:08:40 -0500 Received: from mail-lb0-f182.google.com ([209.85.217.182]:43012 "EHLO mail-lb0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752476Ab3LPIIj (ORCPT ); Mon, 16 Dec 2013 03:08:39 -0500 Received: by mail-lb0-f182.google.com with SMTP id l4so709935lbv.13 for ; Mon, 16 Dec 2013 00:08:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=ndgIocTT6GtMJyQ8Ov6LPNzwb4pY3JMHTMl+lflhDVI=; b=pxBbhjUYMDTWxY3+CBCwI78poZN1ZB2GmL4NJrA3XyUjS6beCFUgVFiOMiJ04udvAq 3F5hQivrE/XzEN1sYa7sD4NblqYYd8zJ/vXXCpicbn2qThVvTCkr+lXAe9pW7z1x4cJ3 3GHy1t0ul9OB6rjSsTUowPSwR8CR7FL3KyKpYCo0ABQPVa1D8A2jpVTyDuC4wO43sMUi pKNaid4mfX9kBOw7ge+2Sq30kNDH5xpWvyW2WQ0iR/m6UgMEy6LSPqK3aDK4uaI8PRTc NHxEIEYL7xQxGw4eto8lCLTq4tJ1iFusOU4dvhv0VdJnbh0VUVDdhH2l7NGbfAeRyEF0 csvw== X-Received: by 10.112.151.42 with SMTP id un10mr3260515lbb.7.1387181317903; Mon, 16 Dec 2013 00:08:37 -0800 (PST) Received: from a13xCCC.localdomain (mail.tecon.ru. [89.175.104.62]) by mx.google.com with ESMTPSA id ox6sm8682640lbb.6.2013.12.16.00.08.36 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 16 Dec 2013 00:08:37 -0800 (PST) From: Alexander Popov To: Gerhard Sittig , Dan Williams , Vinod Koul , Lars-Peter Clausen , Arnd Bergmann , Anatolij Gustschin , Alexander Popov , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] dmaengine: fix incorrect kernel-doc comment for struct dma_slave_config Date: Mon, 16 Dec 2013 12:12:17 +0400 Message-Id: <1387181537-3254-1-git-send-email-a13xp0p0v88@gmail.com> X-Mailer: git-send-email 1.7.11.3 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 The 'direction' member of 'struct dma_slave_config' is of data type 'enum dma_transfer_direction', so update the kernel-doc comment for 'struct dma_slave_config' to refer to appropriate values. Signed-off-by: Alexander Popov --- include/linux/dmaengine.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 41cf0c3..bd6b882 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -305,9 +305,8 @@ enum dma_slave_buswidth { /** * struct dma_slave_config - dma slave channel runtime config * @direction: whether the data shall go in or out on this slave - * channel, right now. DMA_TO_DEVICE and DMA_FROM_DEVICE are - * legal values, DMA_BIDIRECTIONAL is not acceptable since we - * need to differentiate source and target addresses. + * channel, right now. DMA_MEM_TO_DEV and DMA_DEV_TO_MEM are + * legal values. * @src_addr: this is the physical address where DMA slave data * should be read (RX), if the source is memory this argument is * ignored.