Skip to content

Commit

Permalink
pata_ixp4xx_cf: fix compilation introduced by ata_port_desc() conversion
Browse files Browse the repository at this point in the history
Fixes a compilation error caused by ata_port_desc() conversion
(cbcdd87).

Signed-off-by: Rod Whitby <rod@whitby.id.au>
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Rod Whitby authored and Jeff Garzik committed Jan 10, 2008
1 parent 36906d9 commit af18374
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/ata/pata_ixp4xx_cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,11 @@ static struct ata_port_operations ixp4xx_port_ops = {
.port_start = ata_port_start,
};

static void ixp4xx_setup_port(struct ata_ioports *ioaddr,
static void ixp4xx_setup_port(struct ata_port *ap,
struct ixp4xx_pata_data *data,
unsigned long raw_cs0, unsigned long raw_cs1)
{
struct ata_ioports *ioaddr = &ap->ioaddr;
unsigned long raw_cmd = raw_cs0;
unsigned long raw_ctl = raw_cs1 + 0x06;

Expand Down

0 comments on commit af18374

Please sign in to comment.