Commit 56e0c3a9 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] ips iomem annotations

Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b797cab3
...@@ -7175,8 +7175,8 @@ ips_init_phase1(struct pci_dev *pci_dev, int *indexPtr) ...@@ -7175,8 +7175,8 @@ ips_init_phase1(struct pci_dev *pci_dev, int *indexPtr)
int j; int j;
int index; int index;
dma_addr_t dma_address; dma_addr_t dma_address;
char *ioremap_ptr; char __iomem *ioremap_ptr;
char *mem_ptr; char __iomem *mem_ptr;
uint32_t IsDead; uint32_t IsDead;
METHOD_TRACE("ips_init_phase1", 1); METHOD_TRACE("ips_init_phase1", 1);
......
...@@ -1117,8 +1117,8 @@ typedef struct ips_ha { ...@@ -1117,8 +1117,8 @@ typedef struct ips_ha {
uint32_t mem_addr; /* Memory mapped address */ uint32_t mem_addr; /* Memory mapped address */
uint32_t io_len; /* Size of IO Address */ uint32_t io_len; /* Size of IO Address */
uint32_t mem_len; /* Size of memory address */ uint32_t mem_len; /* Size of memory address */
char *mem_ptr; /* Memory mapped Ptr */ char __iomem *mem_ptr; /* Memory mapped Ptr */
char *ioremap_ptr; /* ioremapped memory pointer */ char __iomem *ioremap_ptr;/* ioremapped memory pointer */
ips_hw_func_t func; /* hw function pointers */ ips_hw_func_t func; /* hw function pointers */
struct pci_dev *pcidev; /* PCI device handle */ struct pci_dev *pcidev; /* PCI device handle */
char *flash_data; /* Save Area for flash data */ char *flash_data; /* Save Area for flash data */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment