diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/blackfin/include/asm/def_LPBlackfin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/include/asm/def_LPBlackfin.h b/arch/blackfin/include/asm/def_LPBlackfin.h index 6bc2db60712f..823679011457 100644 --- a/arch/blackfin/include/asm/def_LPBlackfin.h +++ b/arch/blackfin/include/asm/def_LPBlackfin.h | |||
@@ -69,13 +69,13 @@ do { \ | |||
69 | 69 | ||
70 | #define bfin_write_or(addr, bits) \ | 70 | #define bfin_write_or(addr, bits) \ |
71 | do { \ | 71 | do { \ |
72 | void *__addr = (void *)(addr); \ | 72 | typeof(addr) __addr = (addr); \ |
73 | bfin_write(__addr, bfin_read(__addr) | (bits)); \ | 73 | bfin_write(__addr, bfin_read(__addr) | (bits)); \ |
74 | } while (0) | 74 | } while (0) |
75 | 75 | ||
76 | #define bfin_write_and(addr, bits) \ | 76 | #define bfin_write_and(addr, bits) \ |
77 | do { \ | 77 | do { \ |
78 | void *__addr = (void *)(addr); \ | 78 | typeof(addr) __addr = (addr); \ |
79 | bfin_write(__addr, bfin_read(__addr) & (bits)); \ | 79 | bfin_write(__addr, bfin_read(__addr) & (bits)); \ |
80 | } while (0) | 80 | } while (0) |
81 | 81 | ||