提交 edceec3d 编写于 作者: A Al Viro 提交者: Linus Torvalds

[PATCH] trivial ATA iomem annotations

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Acked-by: NJeff Garzik <jgarzik@pobox.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 f0f0d0c6
...@@ -208,7 +208,7 @@ static struct ata_port_operations cs5520_port_ops = { ...@@ -208,7 +208,7 @@ static struct ata_port_operations cs5520_port_ops = {
static int __devinit cs5520_init_one(struct pci_dev *dev, const struct pci_device_id *id) static int __devinit cs5520_init_one(struct pci_dev *dev, const struct pci_device_id *id)
{ {
u8 pcicfg; u8 pcicfg;
void *iomap[5]; void __iomem *iomap[5];
static struct ata_probe_ent probe[2]; static struct ata_probe_ent probe[2];
int ports = 0; int ports = 0;
......
...@@ -354,7 +354,7 @@ static int sis_init_one (struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -354,7 +354,7 @@ static int sis_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
return -ENOMEM; return -ENOMEM;
if (!(probe_ent->port_flags & SIS_FLAG_CFGSCR)) { if (!(probe_ent->port_flags & SIS_FLAG_CFGSCR)) {
void *mmio; void __iomem *mmio;
mmio = pcim_iomap(pdev, SIS_SCR_PCI_BAR, 0); mmio = pcim_iomap(pdev, SIS_SCR_PCI_BAR, 0);
if (!mmio) if (!mmio)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册