[PATCH v2] staging: rtl8821ae: mark pci_mem_start (and _end) as __iomem

From: Martin Kepplinger
Date: Sun May 04 2014 - 08:23:05 EST


Shared addresses can be marked as such.

Signed-off-by: Martin Kepplinger <martink@xxxxxxxxx>
---
I guess that's what you meant. Thanks for your feedback!

drivers/staging/rtl8821ae/wifi.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8821ae/wifi.h b/drivers/staging/rtl8821ae/wifi.h
index 17a9d9f..d162730 100644
--- a/drivers/staging/rtl8821ae/wifi.h
+++ b/drivers/staging/rtl8821ae/wifi.h
@@ -1086,8 +1086,8 @@ struct rtl_io {
struct device *dev;

/*PCI MEM map */
- unsigned long pci_mem_end; /*shared mem end */
- unsigned long pci_mem_start; /*shared mem start */
+ unsigned long __iomem pci_mem_end; /*shared mem end */
+ unsigned long __iomem pci_mem_start; /*shared mem start */

/*PCI IO map */
unsigned long pci_base_addr; /*device I/O address */
--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/