[PATCH] pata_platform: fallout from set_mode() change

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Al Viro and committed by Linus Torvalds 161c888b 9a696b4f

+2 -1
+2 -1
drivers/ata/pata_platform.c
··· 30 * Provide our own set_mode() as we don't want to change anything that has 31 * already been configured.. 32 */ 33 - static void pata_platform_set_mode(struct ata_port *ap) 34 { 35 int i; 36 ··· 44 dev->flags |= ATA_DFLAG_PIO; 45 } 46 } 47 } 48 49 static void pata_platform_host_stop(struct ata_host *host)
··· 30 * Provide our own set_mode() as we don't want to change anything that has 31 * already been configured.. 32 */ 33 + static int pata_platform_set_mode(struct ata_port *ap, struct ata_device **unused) 34 { 35 int i; 36 ··· 44 dev->flags |= ATA_DFLAG_PIO; 45 } 46 } 47 + return 0; 48 } 49 50 static void pata_platform_host_stop(struct ata_host *host)