]> err.no Git - linux-2.6/commitdiff
[ARM] 3621/1: fix compilation breakage for pnx4008
authorVitaly Wool <vwool@ru.mvista.com>
Thu, 22 Jun 2006 09:27:15 +0000 (10:27 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 22 Jun 2006 09:27:15 +0000 (10:27 +0100)
Patch from Vitaly Wool

pnx4008_defconfig fails to build:

include/asm/hardware/debug-8250.S: Assembler messages:
include/asm/hardware/debug-8250.S:12: Error: Macro with this name was already defined.

This is due to senduart macro erroneously defined in include/asm-arm/arch-pnx4008/debug-macro.S. This patch removes it from that file.

Signed-off-by: Vitaly Wool <vwool@ru.mvista.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-pnx4008/debug-macro.S

index eb3839de389ae4afb07108ed5cceabedb40ca063..67d18a203d23a302b8a64ef9378181d1b13a3d7d 100644 (file)
@@ -19,9 +19,5 @@
                addne   \rx, \rx, #0xf4000000
                .endm
 
-               .macro  senduart,rd,rx
-               strb    \rd, [\rx, #0x0]
-               .endm
-
 #define UART_SHIFT     2
 #include <asm/hardware/debug-8250.S>