projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36906d9
)
pata_ixp4xx_cf: fix compilation introduced by ata_port_desc() conversion
author
Rod Whitby
<rod@whitby.id.au>
Sun, 6 Jan 2008 01:05:28 +0000
(10:05 +0900)
committer
Jeff Garzik
<jeff@garzik.org>
Thu, 10 Jan 2008 21:53:10 +0000
(16:53 -0500)
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>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_ixp4xx_cf.c
patch
|
blob
|
history
diff --git
a/drivers/ata/pata_ixp4xx_cf.c
b/drivers/ata/pata_ixp4xx_cf.c
index fcd532afbf2e011c9b4d5183430945d409c702eb..120b5bfa7ce6e9019b2cbd07397ab8d91442c3ad 100644
(file)
--- 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;