[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1417110404-13297-1-git-send-email-cernekee@gmail.com>
Date: Thu, 27 Nov 2014 09:46:43 -0800
From: Kevin Cernekee <cernekee@...il.com>
To: grant.likely@...aro.org
Cc: kbuild-all@...org, gregkh@...uxfoundation.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 1/2] m32r: Fix ioread8 definition
This should be readb(), not read().
Signed-off-by: Kevin Cernekee <cernekee@...il.com>
---
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 linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists