summaryrefslogtreecommitdiff
path: root/include/asm-avr32/arch-at32ap7000/hmatrix2.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-04-18 16:53:52 +0200
committerWolfgang Denk <wd@denx.de>2007-04-18 16:53:52 +0200
commitb99c1e6d8eec327c4b4dd99bf4c0d1a1eba2ce0a (patch)
tree2ba585aa362b4fc2859ead56014b39f74586662d /include/asm-avr32/arch-at32ap7000/hmatrix2.h
parent5f6c732affea9647762d27a4617a2ae64c52dceb (diff)
parent8e6875183cdca91c134408d119d4abcd48ef6856 (diff)
downloadu-boot-imx-b99c1e6d8eec327c4b4dd99bf4c0d1a1eba2ce0a.zip
u-boot-imx-b99c1e6d8eec327c4b4dd99bf4c0d1a1eba2ce0a.tar.gz
u-boot-imx-b99c1e6d8eec327c4b4dd99bf4c0d1a1eba2ce0a.tar.bz2
Merge with /home/wd/git/u-boot/custodian/u-boot-avr32; code cleanup.
Diffstat (limited to 'include/asm-avr32/arch-at32ap7000/hmatrix2.h')
-rw-r--r--include/asm-avr32/arch-at32ap7000/hmatrix2.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-avr32/arch-at32ap7000/hmatrix2.h b/include/asm-avr32/arch-at32ap7000/hmatrix2.h
index e6df4b7..b0e787a 100644
--- a/include/asm-avr32/arch-at32ap7000/hmatrix2.h
+++ b/include/asm-avr32/arch-at32ap7000/hmatrix2.h
@@ -224,9 +224,9 @@
| HMATRIX2_BF(name,value))
/* Register access macros */
-#define hmatrix2_readl(port,reg) \
- readl((port)->regs + HMATRIX2_##reg)
-#define hmatrix2_writel(port,reg,value) \
- writel((value), (port)->regs + HMATRIX2_##reg)
+#define hmatrix2_readl(reg) \
+ readl((void *)HMATRIX_BASE + HMATRIX2_##reg)
+#define hmatrix2_writel(reg,value) \
+ writel((value), (void *)HMATRIX_BASE + HMATRIX2_##reg)
#endif /* __ASM_AVR32_HMATRIX2_H__ */