From: Scott Wood Date: Tue, 17 Jun 2008 16:59:59 +0000 (+1000) Subject: powerpc: Fix copy-and-paste error in clrsetbits_le16 X-Git-Tag: MMI-PSA29.97-13-9~33646^2~111 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e2d755051129c61a9f67bf752d0b7cc82b115338;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Paul Mackerras --- 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)