summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-ixp2000/ixdp2x01.h
diff options
context:
space:
mode:
authorDeepak Saxena <dsaxena@plexity.net>2005-10-30 23:35:58 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-10-30 23:35:58 +0000
commit7012f9084e3ef27028b4f2ab37428662766a743a (patch)
tree7d708d13e8133a776e300791f79b47e938431683 /include/asm-arm/arch-ixp2000/ixdp2x01.h
parentf741a1aab5fd7892927208ca37eb86b9ea85784a (diff)
[ARM] fix bogus cast in IXP2000 I/O macro
Physical addresses are not valid pointers of any sort and should not be cast to such. Signed-off-by: Deepak Saxena <dsaxena@plexity.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-ixp2000/ixdp2x01.h')
-rw-r--r--include/asm-arm/arch-ixp2000/ixdp2x01.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/arch-ixp2000/ixdp2x01.h b/include/asm-arm/arch-ixp2000/ixdp2x01.h
index b768009c3a5..c6d51426e98 100644
--- a/include/asm-arm/arch-ixp2000/ixdp2x01.h
+++ b/include/asm-arm/arch-ixp2000/ixdp2x01.h
@@ -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)