diff options
author | Anders Darander <anders.darander@gmail.com> | 2014-04-23 15:09:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-25 16:02:01 -0700 |
commit | 4ada11147e446c56a7bd12e519777db12764d293 (patch) | |
tree | c418c99c5cc0ed1d658888fc0f057febce455d40 /drivers/staging/rtl8821ae/wifi.h | |
parent | 84fcb4b3a3716662ee2f7e0c8270241c71baeb97 (diff) |
staging/rtl8821ae: fix sparse address space warning
Change the definition of pci_mem_start|end from correct from pci_io(un)map's
point of view.
Signed-off-by: Anders Darander <anders.darander@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8821ae/wifi.h')
-rw-r--r-- | drivers/staging/rtl8821ae/wifi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8821ae/wifi.h b/drivers/staging/rtl8821ae/wifi.h index 17a9d9f8781d..e8250dad613b 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 */ + void __iomem *pci_mem_end; /*shared mem end */ + void __iomem *pci_mem_start; /*shared mem start */ /*PCI IO map */ unsigned long pci_base_addr; /*device I/O address */ |