summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-11-12 18:42:53 -0500
committerMike Frysinger <vapier@gentoo.org>2010-01-17 09:17:27 -0500
commitf948158f72e6b880d02e4fa549362e4dc285eb1c (patch)
tree253333c6ccfe5eadf8767dd5b5815a07e7749126 /include
parent313e8aacc1c9f5ca06085fa19b1429fa18a01aaa (diff)
Blackfin: use new bfin read/write mmr helper funcs
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-blackfin/blackfin_local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-blackfin/blackfin_local.h b/include/asm-blackfin/blackfin_local.h
index 308014abac..3fd34b33fe 100644
--- a/include/asm-blackfin/blackfin_local.h
+++ b/include/asm-blackfin/blackfin_local.h
@@ -61,7 +61,7 @@ extern u_long get_vco(void);
extern u_long get_cclk(void);
extern u_long get_sclk(void);
-# define bfin_revid() (*pCHIPID >> 28)
+# define bfin_revid() (bfin_read_CHIPID() >> 28)
extern bool bfin_os_log_check(void);
extern void bfin_os_log_dump(void);