ARM: tegra: do not hide dma declarations
Subsystems (3)
PATCH v2 1/6 ARM: tegra: do not hide dma declarations
From: Arnd Bergmann <[email protected]>
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)
--- arch/arm/mach-tegra/include/mach/dma.h | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
arch/arm/mach-tegra/include/mach/dma.h +0 -4
@@ -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
Signature · 1 line
1.7.0.4
Olof Johansson
AppliedQuoted 11 lines · Alan Ott
From: Arnd Bergmann <[email protected]>
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 <[email protected]>Signed-off-by Alan Ott <[email protected]>
Thanks, applied to cleanups-and-fixes for 3.4.
-Olof
Quoted 7 lines · Olof Johansson
Quoted 6 lines · Alan Ott
From: Arnd Bergmann <[email protected]>
The declarations are actually required for the device definitions, and are still valid even if the dma controller is disabled:
Quoted 7 lines
Quoted 5 lines
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 <[email protected]>Signed-off-by Alan Ott <[email protected]>Thanks, applied to cleanups-and-fixes for 3.4.
Oh, a corresponding fix for this is already in mainline, so I dropped it again (noticed due to conflicts).
-Olof
Stephen Warren
AppliedQuoted 11 lines · Alan Ott
From: Arnd Bergmann <[email protected]>
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 <[email protected]>Signed-off-by Alan Ott <[email protected]>
Applied, thanks.