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:
9a696b4
)
[PATCH] pata_platform: fallout from set_mode() change
author
Al Viro
<viro@ftp.linux.org.uk>
Tue, 30 Jan 2007 13:23:45 +0000
(13:23 +0000)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 30 Jan 2007 16:39:20 +0000
(08:39 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/ata/pata_platform.c
patch
|
blob
|
history
diff --git
a/drivers/ata/pata_platform.c
b/drivers/ata/pata_platform.c
index 443b1d85c6c48eb4f1626826760905d2ee328be0..40ae11cbfda43b5f43207aa6a3e6d8983e873ba5 100644
(file)
--- a/
drivers/ata/pata_platform.c
+++ b/
drivers/ata/pata_platform.c
@@
-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;
@@
-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)