diff options
author | Olof Johansson <olof@lixom.net> | 2011-12-22 14:03:12 +0000 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-01-24 00:48:06 -0800 |
commit | f02432571ad52fcfb7e7c676d81f902a0351a8af (patch) | |
tree | 62d1866ddc5672303ed311b3226cd6df371ca401 /drivers/i2c | |
parent | dcd6c92267155e70a94b3927bce681ce74b80d1f (diff) | |
download | linux-f02432571ad52fcfb7e7c676d81f902a0351a8af.tar.bz2 |
ARM: tegra: dma: fix buildbreak for !CONFIG_TEGRA_SYSTEM_DMA
There's no need to keep the DMA_REQ_SEL defines inside the ifdef.
Fixes the following build break with CONFIG_TEGRA_SYSTEM_DMA=n:
arch/arm/mach-tegra/devices.c:645: error: 'TEGRA_DMA_REQ_SEL_I2S_1' undeclared here (not in a function)
arch/arm/mach-tegra/devices.c:663: error: 'TEGRA_DMA_REQ_SEL_I2S2_1' undeclared here (not in a function)
arch/arm/mach-tegra/devices.c:663: error: initializer element is not constant
arch/arm/mach-tegra/devices.c:663: error: (near initialization for 'i2s_resource2[1].start')
arch/arm/mach-tegra/devices.c:664: error: initializer element is not constant
arch/arm/mach-tegra/devices.c:664: error: (near initialization for 'i2s_resource2[1].end')
Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions