Skip to content

Commit

Permalink
ata: sata_dwc_460ex: add __iomem to register base pointer
Browse files Browse the repository at this point in the history
The pointer to the mmio register base is missing the __iomem
annotation.  Fix this.

Tested-by: Christian Lamparter <[email protected]>
Signed-off-by: Mans Rullgard <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
  • Loading branch information
mansr authored and htejun committed May 10, 2016
1 parent 175553e commit adc64ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/sata_dwc_460ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit adc64ec

Please sign in to comment.