提交 65e8d272 编写于 作者: A Arnd Bergmann 提交者: Stephen Warren

ARM: tegra: do not hide dma declarations

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: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NAlan Ott <alan@signal11.us>
Signed-off-by: NStephen Warren <swarren@nvidia.com>
上级 eb75bb7a
...@@ -51,8 +51,6 @@ ...@@ -51,8 +51,6 @@
#define TEGRA_DMA_REQ_SEL_OWR 25 #define TEGRA_DMA_REQ_SEL_OWR 25
#define TEGRA_DMA_REQ_SEL_INVALID 31 #define TEGRA_DMA_REQ_SEL_INVALID 31
#if defined(CONFIG_TEGRA_SYSTEM_DMA)
struct tegra_dma_req; struct tegra_dma_req;
struct tegra_dma_channel; struct tegra_dma_channel;
...@@ -151,5 +149,3 @@ void tegra_dma_free_channel(struct tegra_dma_channel *ch); ...@@ -151,5 +149,3 @@ void tegra_dma_free_channel(struct tegra_dma_channel *ch);
int __init tegra_dma_init(void); int __init tegra_dma_init(void);
#endif #endif
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册