diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-08-30 05:18:18 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-30 05:18:18 -0400 |
commit | ea6ba10bbb88e106f9e2db7dc253993bb3bbbe3b (patch) | |
tree | aa83ab9aa74e85b7a5c76f40764514a6ac266226 /drivers/scsi/sata_sil.c | |
parent | e005f01de32f22be8af255f2761018e9766000d2 (diff) |
[libata] __iomem annotations for various drivers
Diffstat (limited to 'drivers/scsi/sata_sil.c')
-rw-r--r-- | drivers/scsi/sata_sil.c | 5 |
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) | |||
242 | { | 242 | { |
243 | struct ata_host_set *host_set = ap->host_set; | 243 | struct ata_host_set *host_set = ap->host_set; |
244 | struct ata_device *dev; | 244 | struct ata_device *dev; |
245 | void *addr = host_set->mmio_base + sil_port[ap->port_no].xfer_mode; | 245 | void __iomem *addr = |
246 | host_set->mmio_base + sil_port[ap->port_no].xfer_mode; | ||
246 | u32 tmp, dev_mode[2]; | 247 | u32 tmp, dev_mode[2]; |
247 | unsigned int i; | 248 | unsigned int i; |
248 | 249 | ||
@@ -375,7 +376,7 @@ static int sil_init_one (struct pci_dev *pdev, const struct pci_device_id *ent) | |||
375 | static int printed_version; | 376 | static int printed_version; |
376 | struct ata_probe_ent *probe_ent = NULL; | 377 | struct ata_probe_ent *probe_ent = NULL; |
377 | unsigned long base; | 378 | unsigned long base; |
378 | void *mmio_base; | 379 | void __iomem *mmio_base; |
379 | int rc; | 380 | int rc; |
380 | unsigned int i; | 381 | unsigned int i; |
381 | int pci_dev_busy = 0; | 382 | int pci_dev_busy = 0; |