浏览代码

[ARM] 3621/1: fix compilation breakage for pnx4008

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>
Vitaly Wool 19 年之前
父节点
当前提交
ae2a120ce5
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      include/asm-arm/arch-pnx4008/debug-macro.S

+ 0 - 4
include/asm-arm/arch-pnx4008/debug-macro.S

@@ -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>