devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 1/2] m32r: Fix ioread8 definition
@ 2014-11-27 18:16 Kevin Cernekee
  2014-11-27 18:16 ` [PATCH V2 2/2] m32r: Add missing big-endian I/O accessors Kevin Cernekee
  0 siblings, 1 reply; 5+ messages in thread
From: Kevin Cernekee @ 2014-11-27 18:16 UTC (permalink / raw)
  To: grant.likely-QSEj5FYQhm4dnm+yROfE0A,
	fengguang.wu-ral2JQCrhuEAvxtiuMwx3w
  Cc: kbuild-all-JC7UmRfGjtg, gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, arnd-r2nGTMty4D4

This should be readb(), not read().

Signed-off-by: Kevin Cernekee <cernekee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 arch/m32r/include/asm/io.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/m32r/include/asm/io.h b/arch/m32r/include/asm/io.h
index 4010f1f..343ae4c 100644
--- a/arch/m32r/include/asm/io.h
+++ b/arch/m32r/include/asm/io.h
@@ -162,7 +162,7 @@ static inline void _writel(unsigned long l, unsigned long addr)
 #define __raw_writew writew
 #define __raw_writel writel
 
-#define ioread8 read
+#define ioread8 readb
 #define ioread16 readw
 #define ioread32 readl
 #define iowrite8 writeb
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-27 23:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-27 18:16 [PATCH V2 1/2] m32r: Fix ioread8 definition Kevin Cernekee
2014-11-27 18:16 ` [PATCH V2 2/2] m32r: Add missing big-endian I/O accessors Kevin Cernekee
     [not found]   ` <1417112193-14400-2-git-send-email-cernekee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-11-27 21:48     ` Arnd Bergmann
2014-11-27 22:20   ` Fengguang Wu
     [not found]     ` <20141127222034.GB16647-q6ZYBFIlbFFi0tQiZxhdj1DQ4js95KgL@public.gmane.org>
2014-11-27 23:15       ` Arnd Bergmann

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).