Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35523
b: refs/heads/master
c: 7c25041
h: refs/heads/master
i:
  35521: d9b5ca8
  35519: e9c549f
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Sep 25, 2006
1 parent 1ecdeb0 commit 69d999a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 355edd2e396ef919d14a605fb4e45466ee2b64d1
refs/heads/master: 7c250413e5b7c3dfae89354725b70c76d7621395
6 changes: 3 additions & 3 deletions trunk/drivers/ata/pata_pdc2027x.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ MODULE_DEVICE_TABLE(pci, pdc2027x_pci_tbl);
* @ap: Port
* @offset: offset from mmio base
*/
static inline void* port_mmio(struct ata_port *ap, unsigned int offset)
static inline void __iomem *port_mmio(struct ata_port *ap, unsigned int offset)
{
return ap->host->mmio_base + ap->port_no * 0x100 + offset;
}
Expand All @@ -253,7 +253,7 @@ static inline void* port_mmio(struct ata_port *ap, unsigned int offset)
* @adev: device
* @offset: offset from mmio base
*/
static inline void* dev_mmio(struct ata_port *ap, struct ata_device *adev, unsigned int offset)
static inline void __iomem *dev_mmio(struct ata_port *ap, struct ata_device *adev, unsigned int offset)
{
u8 adj = (adev->devno) ? 0x08 : 0x00;
return port_mmio(ap, offset) + adj;
Expand Down Expand Up @@ -758,7 +758,7 @@ static int __devinit pdc2027x_init_one(struct pci_dev *pdev, const struct pci_de

struct ata_probe_ent *probe_ent = NULL;
unsigned long base;
void *mmio_base;
void __iomem *mmio_base;
int rc;

if (!printed_version++)
Expand Down

0 comments on commit 69d999a

Please sign in to comment.