···30 * Provide our own set_mode() as we don't want to change anything that has31 * 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 }047}4849static void pata_platform_host_stop(struct ata_host *host)
···30 * Provide our own set_mode() as we don't want to change anything that has31 * 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}4950static void pata_platform_host_stop(struct ata_host *host)