diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2007-12-21 09:31:25 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-01-26 16:07:52 +0100 |
commit | a333aeb73b45d2b6bbaaebd56f9e7e3a674ac039 (patch) | |
tree | 0fdaad587b58b7b1278d7f5c247cbcdbd134ce96 /include/asm-arm/arch-pxa/uncompress.h | |
parent | [ARM] 4711/1: pxa: mmc: move DMA specific code to platform layer (diff) | |
download | linux-a333aeb73b45d2b6bbaaebd56f9e7e3a674ac039.tar.xz linux-a333aeb73b45d2b6bbaaebd56f9e7e3a674ac039.zip |
[ARM] 4718/1: Fix redefinition warnings in PXA uncompressor code
FFUART and friends are already defined as __REG(x) in pxa-regs.h.
Instead of redefining them here, we can just provide the __REG macro.
Including asm/arch/hardware.h is not an option because this physical
addresses are needed here.
This is a fix for the compiler warnings generated by 4663/1.
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-pxa/uncompress.h')
-rw-r--r-- | include/asm-arm/arch-pxa/uncompress.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/asm-arm/arch-pxa/uncompress.h b/include/asm-arm/arch-pxa/uncompress.h index 3faad53a6848..dadf4c20b622 100644 --- a/include/asm-arm/arch-pxa/uncompress.h +++ b/include/asm-arm/arch-pxa/uncompress.h @@ -12,10 +12,7 @@ #include <linux/serial_reg.h> #include <asm/arch/pxa-regs.h> -#define FFUART ((volatile unsigned long *)0x40100000) -#define BTUART ((volatile unsigned long *)0x40200000) -#define STUART ((volatile unsigned long *)0x40700000) -#define HWUART ((volatile unsigned long *)0x41600000) +#define __REG(x) ((volatile unsigned long *)x) #define UART FFUART |