Commit 6641c654 authored by David S. Miller's avatar David S. Miller

[ATM]: Use __iomem where appropriate.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f4f9e3fd
......@@ -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;
......
......@@ -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];
......
......@@ -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 */
......
......@@ -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 {
......
......@@ -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;
......
......@@ -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 );
......
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