Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56268
b: refs/heads/master
c: b9a3b4d
h: refs/heads/master
v: v3
  • Loading branch information
Olof Johansson authored and Jeff Garzik committed May 11, 2007
1 parent db1a290 commit 77316fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: b196fc69f7be7b4454781add9c2d5173f44d509b
refs/heads/master: b9a3b4d1453689f2927668fcdc4827fdccf44d1b
4 changes: 3 additions & 1 deletion trunk/drivers/ata/pata_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ static int pata_platform_set_mode(struct ata_port *ap, struct ata_device **unuse
return 0;
}

static int ata_dummy_ret0(struct ata_port *ap) { return 0; }

static struct scsi_host_template pata_platform_sht = {
.module = THIS_MODULE,
.name = DRV_NAME,
Expand Down Expand Up @@ -91,7 +93,7 @@ static struct ata_port_operations pata_platform_port_ops = {
.irq_on = ata_irq_on,
.irq_ack = ata_irq_ack,

.port_start = ata_port_start,
.port_start = ata_dummy_ret0,
};

static void pata_platform_setup_port(struct ata_ioports *ioaddr,
Expand Down

0 comments on commit 77316fc

Please sign in to comment.