]> err.no Git - linux-2.6/commitdiff
Blackfin arch: fix the aliased write macros
authorRobin Getz <robin.getz@analog.com>
Sun, 5 Aug 2007 09:21:55 +0000 (17:21 +0800)
committerBryan Wu <bryan.wu@analog.com>
Sun, 5 Aug 2007 09:21:55 +0000 (17:21 +0800)
Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
include/asm-blackfin/mach-bf561/cdefBF561.h

index 6e87ab269ffe577b6ad301a1b8cf11a6723cd06e..73d4d65249cdc41c23eee21c9a500d52c7a3feee 100644 (file)
@@ -83,9 +83,9 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val)
 
 /* For MMR's that are reserved on Core B, set up defines to better integrate with other ports */
 #define bfin_read_SWRST()                    bfin_read_SICA_SWRST()
-#define bfin_write_SWRST()                   bfin_write_SICA_SWRST()
+#define bfin_write_SWRST(val)                bfin_write_SICA_SWRST(val)
 #define bfin_read_SYSCR()                    bfin_read_SICA_SYSCR()
-#define bfin_write_SYSCR()                   bfin_write_SICA_SYSCR()
+#define bfin_write_SYSCR(val)                bfin_write_SICA_SYSCR(val)
 
 /* System Reset and Interrupt Controller registers for core A (0xFFC0 0100-0xFFC0 01FF) */
 #define bfin_read_SICA_SWRST()               bfin_read16(SICA_SWRST)