diff options
Diffstat (limited to 'sound/soc/omap')
-rw-r--r-- | sound/soc/omap/omap-mcbsp.c | 6 | ||||
-rw-r--r-- | sound/soc/omap/omap-mcbsp.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c index d203f4da18a0..ede6afde7d2f 100644 --- a/sound/soc/omap/omap-mcbsp.c +++ b/sound/soc/omap/omap-mcbsp.c | |||
@@ -92,7 +92,7 @@ static const unsigned long omap1_mcbsp_port[][2] = {}; | |||
92 | static const int omap24xx_dma_reqs[][2] = { | 92 | static const int omap24xx_dma_reqs[][2] = { |
93 | { OMAP24XX_DMA_MCBSP1_TX, OMAP24XX_DMA_MCBSP1_RX }, | 93 | { OMAP24XX_DMA_MCBSP1_TX, OMAP24XX_DMA_MCBSP1_RX }, |
94 | { OMAP24XX_DMA_MCBSP2_TX, OMAP24XX_DMA_MCBSP2_RX }, | 94 | { OMAP24XX_DMA_MCBSP2_TX, OMAP24XX_DMA_MCBSP2_RX }, |
95 | #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3) | 95 | #if defined(CONFIG_SOC_OMAP2430) || defined(CONFIG_ARCH_OMAP3) |
96 | { OMAP24XX_DMA_MCBSP3_TX, OMAP24XX_DMA_MCBSP3_RX }, | 96 | { OMAP24XX_DMA_MCBSP3_TX, OMAP24XX_DMA_MCBSP3_RX }, |
97 | { OMAP24XX_DMA_MCBSP4_TX, OMAP24XX_DMA_MCBSP4_RX }, | 97 | { OMAP24XX_DMA_MCBSP4_TX, OMAP24XX_DMA_MCBSP4_RX }, |
98 | { OMAP24XX_DMA_MCBSP5_TX, OMAP24XX_DMA_MCBSP5_RX }, | 98 | { OMAP24XX_DMA_MCBSP5_TX, OMAP24XX_DMA_MCBSP5_RX }, |
@@ -113,7 +113,7 @@ static const int omap44xx_dma_reqs[][2] = { | |||
113 | static const int omap44xx_dma_reqs[][2] = {}; | 113 | static const int omap44xx_dma_reqs[][2] = {}; |
114 | #endif | 114 | #endif |
115 | 115 | ||
116 | #if defined(CONFIG_ARCH_OMAP2420) | 116 | #if defined(CONFIG_SOC_OMAP2420) |
117 | static const unsigned long omap2420_mcbsp_port[][2] = { | 117 | static const unsigned long omap2420_mcbsp_port[][2] = { |
118 | { OMAP24XX_MCBSP1_BASE + OMAP_MCBSP_REG_DXR1, | 118 | { OMAP24XX_MCBSP1_BASE + OMAP_MCBSP_REG_DXR1, |
119 | OMAP24XX_MCBSP1_BASE + OMAP_MCBSP_REG_DRR1 }, | 119 | OMAP24XX_MCBSP1_BASE + OMAP_MCBSP_REG_DRR1 }, |
@@ -124,7 +124,7 @@ static const unsigned long omap2420_mcbsp_port[][2] = { | |||
124 | static const unsigned long omap2420_mcbsp_port[][2] = {}; | 124 | static const unsigned long omap2420_mcbsp_port[][2] = {}; |
125 | #endif | 125 | #endif |
126 | 126 | ||
127 | #if defined(CONFIG_ARCH_OMAP2430) | 127 | #if defined(CONFIG_SOC_OMAP2430) |
128 | static const unsigned long omap2430_mcbsp_port[][2] = { | 128 | static const unsigned long omap2430_mcbsp_port[][2] = { |
129 | { OMAP24XX_MCBSP1_BASE + OMAP_MCBSP_REG_DXR, | 129 | { OMAP24XX_MCBSP1_BASE + OMAP_MCBSP_REG_DXR, |
130 | OMAP24XX_MCBSP1_BASE + OMAP_MCBSP_REG_DRR }, | 130 | OMAP24XX_MCBSP1_BASE + OMAP_MCBSP_REG_DRR }, |
diff --git a/sound/soc/omap/omap-mcbsp.h b/sound/soc/omap/omap-mcbsp.h index 110c106611d3..37dc7211ed3f 100644 --- a/sound/soc/omap/omap-mcbsp.h +++ b/sound/soc/omap/omap-mcbsp.h | |||
@@ -43,7 +43,7 @@ enum omap_mcbsp_div { | |||
43 | OMAP_MCBSP_CLKGDV, /* Sample rate generator divider */ | 43 | OMAP_MCBSP_CLKGDV, /* Sample rate generator divider */ |
44 | }; | 44 | }; |
45 | 45 | ||
46 | #if defined(CONFIG_ARCH_OMAP2420) | 46 | #if defined(CONFIG_SOC_OMAP2420) |
47 | #define NUM_LINKS 2 | 47 | #define NUM_LINKS 2 |
48 | #endif | 48 | #endif |
49 | #if defined(CONFIG_ARCH_OMAP15XX) || defined(CONFIG_ARCH_OMAP16XX) | 49 | #if defined(CONFIG_ARCH_OMAP15XX) || defined(CONFIG_ARCH_OMAP16XX) |
@@ -54,7 +54,7 @@ enum omap_mcbsp_div { | |||
54 | #undef NUM_LINKS | 54 | #undef NUM_LINKS |
55 | #define NUM_LINKS 4 | 55 | #define NUM_LINKS 4 |
56 | #endif | 56 | #endif |
57 | #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3) | 57 | #if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_SOC_OMAP2430) |
58 | #undef NUM_LINKS | 58 | #undef NUM_LINKS |
59 | #define NUM_LINKS 5 | 59 | #define NUM_LINKS 5 |
60 | #endif | 60 | #endif |