From 6641c6540161028983f227c938efc9ade43a6203 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Tue, 21 Sep 2004 00:28:56 -0700 Subject: [PATCH] [ATM]: Use __iomem where appropriate. Signed-off-by: David S. Miller --- drivers/atm/firestream.h | 2 +- drivers/atm/he.h | 2 +- drivers/atm/idt77252.h | 4 ++-- drivers/atm/lanai.c | 2 +- drivers/atm/nicstar.h | 2 +- drivers/atm/nicstarmac.h | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/atm/firestream.h b/drivers/atm/firestream.h index ba463b459bd7c..49e783e35ee94 100644 --- a/drivers/atm/firestream.h +++ b/drivers/atm/firestream.h @@ -477,7 +477,7 @@ struct fs_dev { struct timer_list timer; unsigned long hw_base; /* mem base address */ - void *base; /* Mapping of base address */ + void __iomem *base; /* Mapping of base address */ int channo; unsigned long channel_mask; diff --git a/drivers/atm/he.h b/drivers/atm/he.h index 25c5d485ca429..7075ef4aa9163 100644 --- a/drivers/atm/he.h +++ b/drivers/atm/he.h @@ -265,7 +265,7 @@ struct he_cs_stper struct he_dev { unsigned int number; unsigned int irq; - void *membase; + void __iomem *membase; char prod_id[30]; char mac_addr[6]; diff --git a/drivers/atm/idt77252.h b/drivers/atm/idt77252.h index f2e87168d1210..cfdd15e7d740c 100644 --- a/drivers/atm/idt77252.h +++ b/drivers/atm/idt77252.h @@ -355,9 +355,9 @@ struct idt77252_dev struct pci_dev *pcidev; /* PCI handle (desriptor) */ struct atm_dev *atmdev; /* ATM device desriptor */ - void *membase; /* SAR's memory base address */ + void __iomem *membase; /* SAR's memory base address */ unsigned long srambase; /* SAR's sram base address */ - void *fbq[4]; /* FBQ fill addresses */ + void __iomem *fbq[4]; /* FBQ fill addresses */ struct semaphore mutex; spinlock_t cmd_lock; /* for r/w utility/sram */ diff --git a/drivers/atm/lanai.c b/drivers/atm/lanai.c index 79053aeed752b..caea938774b4b 100644 --- a/drivers/atm/lanai.c +++ b/drivers/atm/lanai.c @@ -191,7 +191,7 @@ #define LANAI_EEPROM_SIZE (128) typedef int vci_t; -typedef void *bus_addr_t; +typedef void __iomem *bus_addr_t; /* DMA buffer in host memory for TX, RX, or service list. */ struct lanai_buffer { diff --git a/drivers/atm/nicstar.h b/drivers/atm/nicstar.h index 8e572565d606d..a7eaee736ef8d 100644 --- a/drivers/atm/nicstar.h +++ b/drivers/atm/nicstar.h @@ -763,7 +763,7 @@ typedef struct ns_dev { int index; /* Card ID to the device driver */ int sram_size; /* In k x 32bit words. 32 or 128 */ - void *membase; /* Card's memory base address */ + void __iomem *membase; /* Card's memory base address */ unsigned long max_pcr; int rct_size; /* Number of entries */ int vpibits; diff --git a/drivers/atm/nicstarmac.h b/drivers/atm/nicstarmac.h index c701118a82a5a..80beec52f1e4d 100644 --- a/drivers/atm/nicstarmac.h +++ b/drivers/atm/nicstarmac.h @@ -7,7 +7,7 @@ ******************************************************************************/ -typedef void * virt_addr_t; +typedef void __iomem *virt_addr_t; u_int32_t nicstar_read_eprom_status( virt_addr_t base ); void nicstar_init_eprom( virt_addr_t base ); -- 2.53.0