OMAP: omap-mcbsp: Fix building after replacement
PATCH 1/1 OMAP: omap-mcbsp: Fix building after replacement
Fix building omap-mcbsp after replacing ARCH_OMAP24x0 in commit 8a9c1aa6a4caa7db1c2fca4b47168af9077e0f95.
Quoted 10 lines
omap: Start using
CONFIG_SOC_OMAPWe want to have just
CONFIG_ARCH_OMAP2, 3 and 4. The rest are nowadays just subcategories of these.Search and replace the following:
ARCH_OMAP2420 SOC_OMAP2420 ARCH_OMAP2430 SOC_OMAP2430 ARCH_OMAP3430 SOC_OMAP3430
--- sound/soc/omap/omap-mcbsp.c | 1 + sound/soc/omap/omap-mcbsp.h | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
sound/soc/omap/omap-mcbsp.c +1 -0
@@ -113,6 +113,7 @@ static const int omap44xx_dma_reqs[][2] = {static const int omap44xx_dma_reqs[][2 ] = {};#endif +#if defined(CONFIG_SOC_OMAP2420 )static const unsigned long omap2420_mcbsp_port[][2 ] = { {OMAP24XX_MCBSP1_BASE +OMAP_MCBSP_REG_DXR1 , OMAP24XX_MCBSP1_BASE + OMAP_MCBSP_REG_DRR1 },
sound/soc/omap/omap-mcbsp.h +1 -0
@@ -54,6 +54,7 @@ enum omap_mcbsp_div {#undef NUM_LINKS#define NUM_LINKS 4#endif +#if defined(CONFIG_ARCH_OMAP3 ) || defined(CONFIG_SOC_OMAP2430 )#undef NUM_LINKS#define NUM_LINKS 5#endif
Signature · 1 line
1.7.4.rc2
Quoted 14 lines · Thomas Weber
Fix building omap-mcbsp after replacing
ARCH_OMAP24x0in commit8a9c1aa6a4caa7db1c2fca4b47168af9077e0f95.Quoted 10 lines
omap: Start using
CONFIG_SOC_OMAPWe want to have just
CONFIG_ARCH_OMAP2, 3 and 4. The rest are nowadays just subcategories of these.Search and replace the following:
ARCH_OMAP2420
SOC_OMAP2420
ARCH_OMAP2430SOC_OMAP2430
ARCH_OMAP3430SOC_OMAP3430
I was just about to post a patch for this, but you beat me to it!
Quoted 1 line
Signed-off-by Thomas Weber <[email protected]>
Quoted 32 lines
---
sound/soc/omap/omap-mcbsp.c | 1 +
sound/soc/omap/omap-mcbsp.h | 1 +2 files changed, 2 insertions(+), 0 deletions(-)sound/soc/omap/omap-mcbsp.c +1
-0@@ -113,6 +113,7 @@ static const int omap44xx_dma_reqs[][2] = { static const int omap44xx_dma_reqs[][2] = {}; #endif +#if defined(CONFIG_SOC_OMAP2420 ) static const unsigned long omap2420_mcbsp_port[][2] = { { OMAP24XX_MCBSP1_BASE + OMAP_MCBSP_REG_DXR1, OMAP24XX_MCBSP1_BASE + OMAP_MCBSP_REG_DRR1 },sound/soc/omap/omap-mcbsp.h +1
-1@@ -54,6 +54,7 @@ enum omap_mcbsp_div { #undef NUM_LINKS #define NUM_LINKS 4 #endif +#if defined(CONFIG_ARCH_OMAP3 ) || defined(CONFIG_SOC_OMAP2430 ) #undef NUM_LINKS #define NUM_LINKS 5 #endif --1.7.4.rc2
Quoted 5 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 16 lines · Poddar, Sourav
Quoted 14 lines · Thomas Weber
Fix building omap-mcbsp after replacing
ARCH_OMAP24x0in commit8a9c1aa6a4caa7db1c2fca4b47168af9077e0f95.Quoted 10 lines
omap: Start using
CONFIG_SOC_OMAPWe want to have just
CONFIG_ARCH_OMAP2, 3 and 4. The rest are nowadays just subcategories of these.Search and replace the following:
ARCH_OMAP2420
SOC_OMAP2420
ARCH_OMAP2430SOC_OMAP2430
ARCH_OMAP3430SOC_OMAP3430
Quoted 6 lines
I was just about to post a patch for this, but you beat me to it!
Quoted 1 line
Signed-off-by Thomas Weber <[email protected]>Acked-by Sourav Poddar <[email protected]>
Thanks, merging this into the original. Also adding applying into linux-omap master.
Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 20 lines · Tony Lindgren
Quoted 19 lines · Poddar, Sourav
Quoted 14 lines · Thomas Weber
Fix building omap-mcbsp after replacing
ARCH_OMAP24x0in commit8a9c1aa6a4caa7db1c2fca4b47168af9077e0f95.Quoted 10 lines
omap: Start using
CONFIG_SOC_OMAPWe want to have just
CONFIG_ARCH_OMAP2, 3 and 4. The rest are nowadays just subcategories of these.Search and replace the following:
ARCH_OMAP2420
SOC_OMAP2420
ARCH_OMAP2430SOC_OMAP2430
ARCH_OMAP3430SOC_OMAP3430I was just about to post a patch for this, but you beat me to it!
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Thomas Weber <[email protected]>Acked-by Sourav Poddar <[email protected]>Thanks, merging this into the original. Also adding applying into linux-omap master.
Aren't we breaking multi-omap build with this?
-V Charulatha
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines · Charulatha
Quoted 5 lines
Quoted 5 lines
I was just about to post a patch for this, but you beat me to it!
Quoted 1 line
Signed-off-by Thomas Weber <[email protected]>
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Acked-by Sourav Poddar <[email protected]>Thanks, merging this into the original. Also adding applying into linux-omap master.
Aren't we breaking multi-omap build with this?
Don't point it out immediately but these patches looks like yet another reason why there's a need to get rid of these ifdefs and cpu_is_omapxxx tests from the drivers.
Signature · 1 line
Jarkko
Quoted 14 lines · Jarkko Nikula
Quoted 11 lines · Charulatha
Quoted 10 lines
Quoted 6 lines
I was just about to post a patch for this, but you beat me to it!
Quoted 1 line
Signed-off-by Thomas Weber <[email protected]>Acked-by Sourav Poddar <[email protected]>Thanks, merging this into the original. Also adding applying into linux-omap master.
Quoted 5 lines
Quoted 2 lines
Aren't we breaking multi-omap build with this?
Don't point it out immediately but these patches looks like yet another reason why there's a need to get rid of these ifdefs and
cpu_is_omapxxxtests from the drivers.
Yes. I agree.
Quoted 4 lines
--
Jarkko