]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ata: sata_dwc_460ex: add __iomem to register base pointer
authorMans Rullgard <mans@mansr.com>
Tue, 26 Apr 2016 09:03:17 +0000 (12:03 +0300)
committerTejun Heo <tj@kernel.org>
Tue, 10 May 2016 16:29:20 +0000 (12:29 -0400)
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>
drivers/ata/sata_dwc_460ex.c

index 90e3e14b4acebcf57ff8b55987c6add55e2ba05a..25e00f2170e65ed57a9ee71ba3df8fce69e364f5 100644 (file)
@@ -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;