linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pata_ixp4xx_cf: fix compilation introduced by ata_port_desc() conversion
@ 2008-01-06  1:05 Tejun Heo
  2008-01-10 21:55 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Tejun Heo @ 2008-01-06  1:05 UTC (permalink / raw)
  To: Jeff Garzik, IDE/ATA development list, rod

From: Rod Whitby <rod@whitby.id.au>

Fixes a compilation error caused by ata_port_desc() conversion
(cbcdd87593a1d85c5c4b259945a3a09eee12814d).

Signed-off-by: Rod Whitby <rod@whitby.id.au>
Signed-off-by: Tejun Heo <htejun@gmail.com>
---
 drivers/ata/pata_ixp4xx_cf.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/ata/pata_ixp4xx_cf.c b/drivers/ata/pata_ixp4xx_cf.c
index fcd532a..120b5bf 100644
--- a/drivers/ata/pata_ixp4xx_cf.c
+++ b/drivers/ata/pata_ixp4xx_cf.c
@@ -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;
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: pata_ixp4xx_cf: fix compilation introduced by ata_port_desc() conversion
  2008-01-06  1:05 pata_ixp4xx_cf: fix compilation introduced by ata_port_desc() conversion Tejun Heo
@ 2008-01-10 21:55 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2008-01-10 21:55 UTC (permalink / raw)
  To: Tejun Heo; +Cc: IDE/ATA development list, rod

Tejun Heo wrote:
> From: Rod Whitby <rod@whitby.id.au>
> 
> Fixes a compilation error caused by ata_port_desc() conversion
> (cbcdd87593a1d85c5c4b259945a3a09eee12814d).
> 
> Signed-off-by: Rod Whitby <rod@whitby.id.au>
> Signed-off-by: Tejun Heo <htejun@gmail.com>
> ---
>  drivers/ata/pata_ixp4xx_cf.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

applied #upstream-fixes



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-10 21:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-06  1:05 pata_ixp4xx_cf: fix compilation introduced by ata_port_desc() conversion Tejun Heo
2008-01-10 21:55 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).