diff options
author | Tony Lindgren <tony@atomide.com> | 2011-01-27 19:39:40 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-01-27 19:39:40 -0500 |
commit | 59b479e0985f0b795d68331d6443a7f89c47768d (patch) | |
tree | 25fbfacecdbe30dfe1727ac39b1c6462a9719097 /arch/arm/mach-omap2/devices.c | |
parent | 0e6d8cad448bde3d846961bb43db15daae94562e (diff) |
omap: Start using CONFIG_SOC_OMAP
We 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
No functional changes.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Thomas Weber <weber@corscience.de>
Acked-by: Sourav Poddar <sourav.poddar@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/devices.c')
-rw-r--r-- | arch/arm/mach-omap2/devices.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index 2c9c912f2c42..e0f0ef952bc9 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c | |||
@@ -333,7 +333,7 @@ static struct platform_device omap2_mcspi2 = { | |||
333 | }, | 333 | }, |
334 | }; | 334 | }; |
335 | 335 | ||
336 | #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3) || \ | 336 | #if defined(CONFIG_SOC_OMAP2430) || defined(CONFIG_ARCH_OMAP3) || \ |
337 | defined(CONFIG_ARCH_OMAP4) | 337 | defined(CONFIG_ARCH_OMAP4) |
338 | static struct omap2_mcspi_platform_config omap2_mcspi3_config = { | 338 | static struct omap2_mcspi_platform_config omap2_mcspi3_config = { |
339 | .num_cs = 2, | 339 | .num_cs = 2, |
@@ -400,7 +400,7 @@ static inline void omap4_mcspi_fixup(void) | |||
400 | } | 400 | } |
401 | #endif | 401 | #endif |
402 | 402 | ||
403 | #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3) || \ | 403 | #if defined(CONFIG_SOC_OMAP2430) || defined(CONFIG_ARCH_OMAP3) || \ |
404 | defined(CONFIG_ARCH_OMAP4) | 404 | defined(CONFIG_ARCH_OMAP4) |
405 | static inline void omap2_mcspi3_init(void) | 405 | static inline void omap2_mcspi3_init(void) |
406 | { | 406 | { |
@@ -895,7 +895,7 @@ void __init omap2_init_mmc(struct omap_mmc_platform_data **mmc_data, | |||
895 | /*-------------------------------------------------------------------------*/ | 895 | /*-------------------------------------------------------------------------*/ |
896 | 896 | ||
897 | #if defined(CONFIG_HDQ_MASTER_OMAP) || defined(CONFIG_HDQ_MASTER_OMAP_MODULE) | 897 | #if defined(CONFIG_HDQ_MASTER_OMAP) || defined(CONFIG_HDQ_MASTER_OMAP_MODULE) |
898 | #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3430) | 898 | #if defined(CONFIG_SOC_OMAP2430) || defined(CONFIG_SOC_OMAP3430) |
899 | #define OMAP_HDQ_BASE 0x480B2000 | 899 | #define OMAP_HDQ_BASE 0x480B2000 |
900 | #endif | 900 | #endif |
901 | static struct resource omap_hdq_resources[] = { | 901 | static struct resource omap_hdq_resources[] = { |