[ARM] Add a common typesafe __io implementation

As Al did for Versatile in 2ad4f86b60,
add a typesafe __io implementation for platforms to use.  Convert
platforms to use this new simple typesafe implementation.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
此提交包含在:
Russell King
2008-11-30 11:45:54 +00:00
提交者 Russell King
父節點 cd32a48dc5
當前提交 0560cf5aa5
共有 23 個檔案被更改,包括 44 行新增65 行删除

查看文件

@@ -239,7 +239,7 @@ __ixp4xx_readsl(const volatile void __iomem *bus_addr, u32 *vaddr, u32 count)
#ifndef CONFIG_PCI
#define __io(v) v
#define __io(v) __typesafe_io(v)
#else