mirror of https://gitee.com/openkylin/linux.git
scsi: eesox: use __iomem pointers for MMIO
ARM is moving to stricter checks on readl/write functions, so we need to use the correct types everywhere. Cc: "James E.J. Bottomley" <JBottomley@parallels.com> Cc: linux-scsi@vger.kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
d19bd83672
commit
f39f7b7dcf
|
@ -273,7 +273,7 @@ static void eesoxscsi_buffer_out(void *buf, int length, void __iomem *base)
|
|||
{
|
||||
const void __iomem *reg_fas = base + EESOX_FAS216_OFFSET;
|
||||
const void __iomem *reg_dmastat = base + EESOX_DMASTAT;
|
||||
const void __iomem *reg_dmadata = base + EESOX_DMADATA;
|
||||
void __iomem *reg_dmadata = base + EESOX_DMADATA;
|
||||
|
||||
do {
|
||||
unsigned int status;
|
||||
|
|
Loading…
Reference in New Issue