diff options
Diffstat (limited to 'kernel/drivers/net/wireless/ath/wil6210/ioctl.c')
-rw-r--r-- | kernel/drivers/net/wireless/ath/wil6210/ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/net/wireless/ath/wil6210/ioctl.c b/kernel/drivers/net/wireless/ath/wil6210/ioctl.c index e9c067381..f7f948621 100644 --- a/kernel/drivers/net/wireless/ath/wil6210/ioctl.c +++ b/kernel/drivers/net/wireless/ath/wil6210/ioctl.c @@ -76,11 +76,11 @@ static int wil_ioc_memio_dword(struct wil6210_priv *wil, void __user *data) /* operation */ switch (io.op & wil_mmio_op_mask) { case wil_mmio_read: - io.val = ioread32(a); + io.val = readl(a); need_copy = true; break; case wil_mmio_write: - iowrite32(io.val, a); + writel(io.val, a); wmb(); /* make sure write propagated to HW */ break; default: |