* [PATCH] powerpc: clrsetbits_le16: fix copy-and-paste error
@ 2008-06-17 16:59 Scott Wood
0 siblings, 0 replies; only message in thread
From: Scott Wood @ 2008-06-17 16:59 UTC (permalink / raw)
To: paulus; +Cc: linuxppc-dev
This was pointed out by Detlev Zundel when this code was being
added to U-boot.
Signed-off-by: Scott Wood <scottwood@freescale.com>
---
Note that nothing currently uses the le16 version, so it's not
an urgent bugfix.
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 6db422d..8b62782 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)
--
1.5.5.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-17 17:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-17 16:59 [PATCH] powerpc: clrsetbits_le16: fix copy-and-paste error Scott Wood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).