[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>
此提交包含在:
@@ -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
|
||||
|
||||
|
新增問題並參考
封鎖使用者