diff options
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/omap2_mcspi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/omap2_mcspi.c b/drivers/spi/omap2_mcspi.c index abb1ffbf3d20..f076cc5c6fb0 100644 --- a/drivers/spi/omap2_mcspi.c +++ b/drivers/spi/omap2_mcspi.c | |||
@@ -1111,7 +1111,7 @@ static u8 __initdata spi2_txdma_id[] = { | |||
1111 | OMAP24XX_DMA_SPI2_TX1, | 1111 | OMAP24XX_DMA_SPI2_TX1, |
1112 | }; | 1112 | }; |
1113 | 1113 | ||
1114 | #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3) \ | 1114 | #if defined(CONFIG_SOC_OMAP2430) || defined(CONFIG_ARCH_OMAP3) \ |
1115 | || defined(CONFIG_ARCH_OMAP4) | 1115 | || defined(CONFIG_ARCH_OMAP4) |
1116 | static u8 __initdata spi3_rxdma_id[] = { | 1116 | static u8 __initdata spi3_rxdma_id[] = { |
1117 | OMAP24XX_DMA_SPI3_RX0, | 1117 | OMAP24XX_DMA_SPI3_RX0, |
@@ -1154,7 +1154,7 @@ static int __init omap2_mcspi_probe(struct platform_device *pdev) | |||
1154 | txdma_id = spi2_txdma_id; | 1154 | txdma_id = spi2_txdma_id; |
1155 | num_chipselect = 2; | 1155 | num_chipselect = 2; |
1156 | break; | 1156 | break; |
1157 | #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3) \ | 1157 | #if defined(CONFIG_SOC_OMAP2430) || defined(CONFIG_ARCH_OMAP3) \ |
1158 | || defined(CONFIG_ARCH_OMAP4) | 1158 | || defined(CONFIG_ARCH_OMAP4) |
1159 | case 3: | 1159 | case 3: |
1160 | rxdma_id = spi3_rxdma_id; | 1160 | rxdma_id = spi3_rxdma_id; |