summaryrefslogtreecommitdiff
path: root/arch/arm/mach-bcmring/include/mach/reg_umi.h
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-10-01 14:15:02 -0700
committerOlof Johansson <olof@lixom.net>2012-10-01 14:15:02 -0700
commited0a0ed0a4e0e6eeebfa154f97ebb41abc5bbee8 (patch)
tree3ca115b6580b70b20d21da179f004b14f54edc8e /arch/arm/mach-bcmring/include/mach/reg_umi.h
parent17a505edb09495510ac8998450980472c412455b (diff)
parent9cf1c871526cf6bfec2a653e1e068ee72592542c (diff)
Merge branch 'next/cleanup' into HEAD
Conflicts: drivers/staging/tidspbridge/core/wdt.c drivers/usb/host/Kconfig drivers/w1/masters/omap_hdq.c
Diffstat (limited to 'arch/arm/mach-bcmring/include/mach/reg_umi.h')
-rw-r--r--arch/arm/mach-bcmring/include/mach/reg_umi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-bcmring/include/mach/reg_umi.h b/arch/arm/mach-bcmring/include/mach/reg_umi.h
index 0992842caa77..56dd9de7d83f 100644
--- a/arch/arm/mach-bcmring/include/mach/reg_umi.h
+++ b/arch/arm/mach-bcmring/include/mach/reg_umi.h
@@ -30,7 +30,7 @@
#define __ASM_ARCH_REG_UMI_H
/* ---- Include Files ---------------------------------------------------- */
-#include <csp/reg.h>
+#include <mach/csp/reg.h>
#include <mach/csp/mm_io.h>
/* ---- Constants and Types ---------------------------------------------- */
@@ -233,5 +233,5 @@
#define REG_UMI_BCH_ERR_LOC_WORD 0x00000018
/* location within a page (512 byte) */
#define REG_UMI_BCH_ERR_LOC_PAGE 0x00001FE0
-#define REG_UMI_BCH_ERR_LOC_ADDR(index) (__REG32(HW_UMI_BASE + 0x64 + (index / 2)*4) >> ((index % 2) * 16))
+#define REG_UMI_BCH_ERR_LOC_ADDR(index) (readl(HW_UMI_BASE + 0x64 + (index / 2)*4) >> ((index % 2) * 16))
#endif