mx2/mx3: debug-macro.S needs deprecated symbols
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 25 Jan 2010 17:23:04 +0000 (18:23 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 26 Jan 2010 17:55:52 +0000 (18:55 +0100)
This fixes:

arch/arm/kernel/debug.S:147: Error: constant expression expected -- `ldrne r3,=(((UART1_BASE_ADDR)-AIPI_BASE_ADDR)+AIPI_BASE_ADDR_VIRT)'
arch/arm/kernel/debug.S:163: Error: constant expression expected -- `ldrne r3,=(((UART1_BASE_ADDR)-AIPI_BASE_ADDR)+AIPI_BASE_ADDR_VIRT)'

when compiling for mx2 with CONFIG_DEBUG_LL=y.  A similar error exists
on mx3 and is fixed by this commit, too.

These were introduced by aae7019382896cf1075a93acc564e42601bc44a2.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/plat-mxc/include/mach/debug-macro.S

index 15b2b14..21e0f07 100644 (file)
@@ -10,6 +10,7 @@
  * published by the Free Software Foundation.
  *
  */
+#define IMX_NEEDS_DEPRECATED_SYMBOLS
 
 #ifdef CONFIG_ARCH_MX1
 #include <mach/mx1.h>