aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-ixp2000
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
parent[ARM] 3049/1: More optimized libgcc functions (diff)
downloadlinux-dev-7012f9084e3ef27028b4f2ab37428662766a743a.tar.xz
linux-dev-7012f9084e3ef27028b4f2ab37428662766a743a.zip
[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')
-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 b768009c3a51..c6d51426e98f 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)