Skip to content

Commit

Permalink
[ARM] 3621/1: fix compilation breakage for pnx4008
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vitaly Wool authored and Russell King committed Jun 22, 2006
1 parent b741483 commit ae2a120
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/asm-arm/arch-pnx4008/debug-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit ae2a120

Please sign in to comment.