pata_platform: Add cable_detect method
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Thu, 8 Mar 2007 22:54:04 +0000 (22:54 +0000)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 18:15:57 +0000 (14:15 -0400)
Signed-off-by: Alan Cox <number6@the-village.bc.nu>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_platform.c

index 4b82a5435a4ebfc1f558afa89bf088bb9d4dc565..507eb1ee05f8cf3a869e0600a14a7a1ff12a3ed5 100644 (file)
@@ -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,