summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sata_sil.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-08-30 05:18:18 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-08-30 05:18:18 -0400
commitea6ba10bbb88e106f9e2db7dc253993bb3bbbe3b (patch)
treeaa83ab9aa74e85b7a5c76f40764514a6ac266226 /drivers/scsi/sata_sil.c
parente005f01de32f22be8af255f2761018e9766000d2 (diff)
downloadlinux-ea6ba10bbb88e106f9e2db7dc253993bb3bbbe3b.tar.gz
linux-ea6ba10bbb88e106f9e2db7dc253993bb3bbbe3b.tar.bz2
linux-ea6ba10bbb88e106f9e2db7dc253993bb3bbbe3b.zip
[libata] __iomem annotations for various drivers
Diffstat (limited to 'drivers/scsi/sata_sil.c')
-rw-r--r--drivers/scsi/sata_sil.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/sata_sil.c b/drivers/scsi/sata_sil.c
index 71d49548f0a3..b1a696fcec81 100644
--- a/drivers/scsi/sata_sil.c
+++ b/drivers/scsi/sata_sil.c
@@ -242,7 +242,8 @@ static void sil_post_set_mode (struct ata_port *ap)
{
struct ata_host_set *host_set = ap->host_set;
struct ata_device *dev;
- void *addr = host_set->mmio_base + sil_port[ap->port_no].xfer_mode;
+ void __iomem *addr =
+ host_set->mmio_base + sil_port[ap->port_no].xfer_mode;
u32 tmp, dev_mode[2];
unsigned int i;
@@ -375,7 +376,7 @@ static int sil_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
static int printed_version;
struct ata_probe_ent *probe_ent = NULL;
unsigned long base;
- void *mmio_base;
+ void __iomem *mmio_base;
int rc;
unsigned int i;
int pci_dev_busy = 0;