libata: fix a few alan-isms
diff --git a/drivers/scsi/sata_qstor.c b/drivers/scsi/sata_qstor.c
index 2926846..93fd06f 100644
--- a/drivers/scsi/sata_qstor.c
+++ b/drivers/scsi/sata_qstor.c
@@ -198,7 +198,7 @@
return 1; /* ATAPI DMA not supported */
}
-static void qs_bmdma_stop(struct ata_queud_cmd *qc)
+static void qs_bmdma_stop(struct ata_queued_cmd *qc)
{
/* nothing */
}
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 33f3ab4..7c09540 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -424,7 +424,6 @@
extern void ata_dev_id_string(u16 *id, unsigned char *s,
unsigned int ofs, unsigned int len);
extern void ata_dev_config(struct ata_port *ap, unsigned int i);
-extern void ata_dev_set_protocol(struct ata_device *dev);
extern void ata_bmdma_setup (struct ata_queued_cmd *qc);
extern void ata_bmdma_start (struct ata_queued_cmd *qc);
extern void ata_bmdma_stop(struct ata_queued_cmd *qc);