From: Deepak Saxena Physical addresses are not valid pointers of any sort and should not be cast to such. Signed-off-by: Deepak Saxena Cc: Russell King Signed-off-by: Andrew Morton --- include/asm-arm/arch-ixp2000/ixdp2x01.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN include/asm-arm/arch-ixp2000/ixdp2x01.h~arm-fix-bogus-cast-in-ixp2000-i-o-macro include/asm-arm/arch-ixp2000/ixdp2x01.h --- 25/include/asm-arm/arch-ixp2000/ixdp2x01.h~arm-fix-bogus-cast-in-ixp2000-i-o-macro Tue Oct 11 14:31:13 2005 +++ 25-akpm/include/asm-arm/arch-ixp2000/ixdp2x01.h Tue Oct 11 14:31:13 2005 @@ -22,7 +22,7 @@ #define IXDP2X01_CPLD_REGION_SIZE 0x00100000 #define IXDP2X01_CPLD_VIRT_REG(reg) (volatile unsigned long*)(IXDP2X01_VIRT_CPLD_BASE | reg) -#define IXDP2X01_CPLD_PHYS_REG(reg) (volatile u32*)(IXDP2X01_PHYS_CPLD_BASE | reg) +#define IXDP2X01_CPLD_PHYS_REG(reg) (IXDP2X01_PHYS_CPLD_BASE | reg) #define IXDP2X01_UART1_VIRT_BASE IXDP2X01_CPLD_VIRT_REG(0x40) #define IXDP2X01_UART1_PHYS_BASE IXDP2X01_CPLD_PHYS_REG(0x40) _