powerpc: Fix copy-and-paste error in clrsetbits_le16
authorScott Wood <scottwood@freescale.com>
Tue, 17 Jun 2008 16:59:59 +0000 (02:59 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 30 Jun 2008 12:31:07 +0000 (22:31 +1000)
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>
include/asm-powerpc/io.h

index 6db422d8e2a0944c64aafdbe5cc20aac6e093ec0..8b627823f5f91c59af24cc6088deebe361d96f28 100644 (file)
@@ -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)