提交 161c888b 编写于 作者: A Al Viro 提交者: Linus Torvalds

[PATCH] pata_platform: fallout from set_mode() change

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 9a696b4f
...@@ -30,7 +30,7 @@ static int pio_mask = 1; ...@@ -30,7 +30,7 @@ static int pio_mask = 1;
* Provide our own set_mode() as we don't want to change anything that has * Provide our own set_mode() as we don't want to change anything that has
* already been configured.. * 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; int i;
...@@ -44,6 +44,7 @@ static void pata_platform_set_mode(struct ata_port *ap) ...@@ -44,6 +44,7 @@ static void pata_platform_set_mode(struct ata_port *ap)
dev->flags |= ATA_DFLAG_PIO; dev->flags |= ATA_DFLAG_PIO;
} }
} }
return 0;
} }
static void pata_platform_host_stop(struct ata_host *host) static void pata_platform_host_stop(struct ata_host *host)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册