aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2016-04-26 12:03:17 +0300
committerTejun Heo <tj@kernel.org>2016-05-10 12:29:20 -0400
commitadc64ecf8dd941e24456de9b4a02a4152ff7df15 (patch)
treecdbff3e414e1a1c6f82a80877c00f13da1add726 /drivers/ata
parentata: sata_dwc_460ex: get rid of incorrect cast (diff)
downloadlinux-dev-adc64ecf8dd941e24456de9b4a02a4152ff7df15.tar.xz
linux-dev-adc64ecf8dd941e24456de9b4a02a4152ff7df15.zip
ata: sata_dwc_460ex: add __iomem to register base pointer
The pointer to the mmio register base is missing the __iomem annotation. Fix this. Tested-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/sata_dwc_460ex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 90e3e14b4ace..25e00f2170e6 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -145,7 +145,7 @@ struct sata_dwc_device {
struct ata_probe_ent *pe; /* ptr to probe-ent */
struct ata_host *host;
u8 __iomem *reg_base;
- struct sata_dwc_regs *sata_dwc_regs; /* DW Synopsys SATA specific */
+ struct sata_dwc_regs __iomem *sata_dwc_regs; /* DW SATA specific */
u32 sactive_issued;
u32 sactive_queued;
struct phy *phy;