Skip to contentSkip to conversation

ARM: imx: Fix build error due to redefinition of 'mx50_io_desc'

PATCH New Fabio Estevam 1 participant 1 message Jan 10, 2012

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: imx: Fix build error due to redefinition of 'mx50_io_desc'

Fix the following build error:

CC arch/arm/mach-imx/mm-imx5.o
arch/arm/mach-imx/mm-imx5.c:57: error: redefinition of 'mx50_io_desc' arch/arm/mach-imx/mm-imx5.c:47: note: previous definition of 'mx50_io_desc' was here

---
This applies against linux-next

 arch/arm/mach-imx/mm-imx5.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
arch/arm/mach-imx/mm-imx5.c +0 -10
index 2f04f8a..16671b7 100644
@@ -52,16 +52,6 @@ static struct map_desc mx50_io_desc[] __initdata = {
 };
 
 /*
- * Define the MX50 memory map.
- */
-static struct map_desc mx50_io_desc[] __initdata = {
-	imx_map_entry(MX50, TZIC, MT_DEVICE),
-	imx_map_entry(MX50, SPBA0, MT_DEVICE),
-	imx_map_entry(MX50, AIPS1, MT_DEVICE),
-	imx_map_entry(MX50, AIPS2, MT_DEVICE),
-};
-
-/*
  * Define the MX51 memory map.
  */
 static struct map_desc mx51_io_desc[] __initdata = {
Signature · 1 line
1.7.1