]> git.sur5r.net Git - u-boot/commit
sparc: Fix build warnings in serial.c
authorSimon Glass <sjg@chromium.org>
Tue, 5 Mar 2013 14:40:04 +0000 (14:40 +0000)
committerTom Rini <trini@ti.com>
Fri, 15 Mar 2013 20:14:02 +0000 (16:14 -0400)
commit68794b9f73b8d4aef3ee968c567229ef4eab1f3f
tree29ae77d3ad34d3f98aaa1ae79e10eb5d49bcb842
parenteb33809f70e3d3a2c1fba043e56cca8fccedbe0c
sparc: Fix build warnings in serial.c

These macros are already defined in io.h so should not be declared in
serial.c.

serial.c:38:0: warning: "READ_BYTE" redefined
/home/sjg/c/src/third_party/u-boot/files/include/asm/io.h:36:0: note: this is the location of the previous definition
serial.c:39:0: warning: "READ_HWORD" redefined
/home/sjg/c/src/third_party/u-boot/files/include/asm/io.h:37:0: note: this is the location of the previous definition
serial.c:40:0: warning: "READ_WORD" redefined
/home/sjg/c/src/third_party/u-boot/files/include/asm/io.h:38:0: note: this is the location of the previous definition
serial.c:41:0: warning: "READ_DWORD" redefined
/home/sjg/c/src/third_party/u-boot/files/include/asm/io.h:39:0: note: this is the location of the previous definition

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sparc/cpu/leon2/serial.c
arch/sparc/cpu/leon3/serial.c