linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: alan@signal11.us (Alan Ott)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 1/5] ARM: tegra: do not hide dma declarations
Date: Fri,  2 Mar 2012 17:25:37 -0500	[thread overview]
Message-ID: <1330727137-11052-1-git-send-email-alan@signal11.us> (raw)
In-Reply-To: <1330727075-10974-1-git-send-email-alan@signal11.us>

From: Arnd Bergmann <arnd@arndb.de>

The declarations are actually required for the device
definitions, and are still valid even if the dma controller
is disabled:

arch/arm/mach-tegra/devices.c:559:12: error: 'TEGRA_DMA_REQ_SEL_I2S_1' undeclared here (not in a function)
arch/arm/mach-tegra/devices.c:577:12: error: 'TEGRA_DMA_REQ_SEL_I2S2_1' undeclared here (not in a function)

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alan Ott <alan@signal11.us>
---
 arch/arm/mach-tegra/include/mach/dma.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/arch/arm/mach-tegra/include/mach/dma.h b/arch/arm/mach-tegra/include/mach/dma.h
index 3c93390..9077092 100644
--- a/arch/arm/mach-tegra/include/mach/dma.h
+++ b/arch/arm/mach-tegra/include/mach/dma.h
@@ -51,8 +51,6 @@
 #define TEGRA_DMA_REQ_SEL_OWR			25
 #define TEGRA_DMA_REQ_SEL_INVALID		31
 
-#if defined(CONFIG_TEGRA_SYSTEM_DMA)
-
 struct tegra_dma_req;
 struct tegra_dma_channel;
 
@@ -151,5 +149,3 @@ void tegra_dma_free_channel(struct tegra_dma_channel *ch);
 int __init tegra_dma_init(void);
 
 #endif
-
-#endif
-- 
1.7.0.4

  reply	other threads:[~2012-03-02 22:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-02 20:58 [PATCH v2 0/6] ARM: Tegra: cleanup patches from Arnd Bergmann Alan Ott
2012-03-02 21:04 ` Stephen Warren
2012-03-02 21:38   ` Alan Ott
2012-03-02 21:43     ` Stephen Warren
2012-03-02 22:09       ` Arnd Bergmann
2012-03-02 22:24 ` [PATCH v3 0/5] " Alan Ott
2012-03-02 22:25   ` Alan Ott [this message]
2012-03-02 22:25   ` [PATCH v3 2/5] ARM: tegra: select CPU_FREQ_TABLE Alan Ott
2012-03-02 22:25   ` [PATCH v3 3/5] ARM: tegra: build localtimer support only when needed Alan Ott
2012-03-02 22:26   ` [PATCH v3 4/5] ARM: tegra: select USB_ULPI if USB is selected Alan Ott
2012-03-18 17:36     ` Olof Johansson
2012-03-02 22:26   ` [PATCH v3 5/5] ARM: tegra: export usb phy symbols Alan Ott
2012-03-02 22:30   ` [PATCH v3 0/5] ARM: Tegra: cleanup patches from Arnd Bergmann Stephen Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1330727137-11052-1-git-send-email-alan@signal11.us \
    --to=alan@signal11.us \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).