Skip to content

Commit

Permalink
[PATCH] pata_platform: fallout from set_mode() change
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Jan 30, 2007
1 parent 9a696b4 commit 161c888
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/ata/pata_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ static int pio_mask = 1;
* Provide our own set_mode() as we don't want to change anything that has
* already been configured..
*/
static void pata_platform_set_mode(struct ata_port *ap)
static int pata_platform_set_mode(struct ata_port *ap, struct ata_device **unused)
{
int i;

Expand All @@ -44,6 +44,7 @@ static void pata_platform_set_mode(struct ata_port *ap)
dev->flags |= ATA_DFLAG_PIO;
}
}
return 0;
}

static void pata_platform_host_stop(struct ata_host *host)
Expand Down

0 comments on commit 161c888

Please sign in to comment.