diff options
author | Alex Elder <elder@linaro.org> | 2021-02-01 17:26:06 -0600 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-02 08:48:15 -0800 |
commit | e6cdd6d80baedadb96d7060a509f51769e53021d (patch) | |
tree | 46b6f5179843e57a266b76aa69c98566c8e4a98d /drivers | |
parent | 4ace7a6e287b7e3b33276cd9fe870c326f880480 (diff) | |
download | linux-e6cdd6d80baedadb96d7060a509f51769e53021d.tar.bz2 |
net: ipa: add a missing __iomem attribute
The virt local variable in gsi_channel_state() does not have an
__iomem attribute but should. Fix this.
Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Amy Parker <enbyamy@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ipa/gsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ipa/gsi.c b/drivers/net/ipa/gsi.c index b8f39e48a009..34e5f2155d62 100644 --- a/drivers/net/ipa/gsi.c +++ b/drivers/net/ipa/gsi.c @@ -440,7 +440,7 @@ static void gsi_evt_ring_de_alloc_command(struct gsi *gsi, u32 evt_ring_id) static enum gsi_channel_state gsi_channel_state(struct gsi_channel *channel) { u32 channel_id = gsi_channel_id(channel); - void *virt = channel->gsi->virt; + void __iomem *virt = channel->gsi->virt; u32 val; val = ioread32(virt + GSI_CH_C_CNTXT_0_OFFSET(channel_id)); |