diff options
author | Scott Wood <scottwood@freescale.com> | 2008-06-18 02:59:59 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-06-30 22:31:07 +1000 |
commit | e2d755051129c61a9f67bf752d0b7cc82b115338 (patch) | |
tree | d3b150352393244018e26469383a9f859517b757 /include/asm-powerpc/io.h | |
parent | 316a405841cc03723d401b098d188aa4e3daa69b (diff) | |
download | blackbird-op-linux-e2d755051129c61a9f67bf752d0b7cc82b115338.tar.gz blackbird-op-linux-e2d755051129c61a9f67bf752d0b7cc82b115338.zip |
powerpc: Fix copy-and-paste error in clrsetbits_le16
This was pointed out by Detlev Zundel when this code was being
added to U-boot.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/io.h')
-rw-r--r-- | include/asm-powerpc/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-powerpc/io.h b/include/asm-powerpc/io.h index 6db422d8e2a0..8b627823f5f9 100644 --- a/include/asm-powerpc/io.h +++ b/include/asm-powerpc/io.h @@ -772,7 +772,7 @@ static inline void * bus_to_virt(unsigned long address) #define clrsetbits_le32(addr, clear, set) clrsetbits(le32, addr, clear, set) #define clrsetbits_be16(addr, clear, set) clrsetbits(be16, addr, clear, set) -#define clrsetbits_le16(addr, clear, set) clrsetbits(le32, addr, clear, set) +#define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set) #define clrsetbits_8(addr, clear, set) clrsetbits(8, addr, clear, set) |