summaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-03-08 22:54:04 +0000
committerJeff Garzik <jeff@garzik.org>2007-04-28 14:15:57 -0400
commit570cb62deef574db10bcf1b4e9a8a0cbf7b101ee (patch)
tree9e1ac76c7f8798d57aa057140dbcd28252199f8d /drivers/ata
parente2a9752a21df4407a2094fb3345878d18a6c6d68 (diff)
pata_platform: Add cable_detect method
Signed-off-by: Alan Cox <number6@the-village.bc.nu> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_platform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/pata_platform.c b/drivers/ata/pata_platform.c
index 4b82a5435a4e..507eb1ee05f8 100644
--- a/drivers/ata/pata_platform.c
+++ b/drivers/ata/pata_platform.c
@@ -80,6 +80,7 @@ static struct ata_port_operations pata_platform_port_ops = {
.thaw = ata_bmdma_thaw,
.error_handler = ata_bmdma_error_handler,
.post_internal_cmd = ata_bmdma_post_internal_cmd,
+ .cable_detect = ata_cable_unknown,
.qc_prep = ata_qc_prep,
.qc_issue = ata_qc_issue_prot,