diff options
Diffstat (limited to 'drivers/ata/pata_hpt366.c')
| -rw-r--r-- | drivers/ata/pata_hpt366.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_hpt366.c b/drivers/ata/pata_hpt366.c index 93cfa6d300a5..e64e05e5c7fe 100644 --- a/drivers/ata/pata_hpt366.c +++ b/drivers/ata/pata_hpt366.c | |||
| @@ -220,7 +220,7 @@ static int hpt36x_cable_detect(struct ata_port *ap) | |||
| 220 | return ATA_CBL_PATA80; | 220 | return ATA_CBL_PATA80; |
| 221 | } | 221 | } |
| 222 | 222 | ||
| 223 | static int hpt36x_pre_reset(struct ata_port *ap) | 223 | static int hpt36x_pre_reset(struct ata_port *ap, unsigned long deadline) |
| 224 | { | 224 | { |
| 225 | static const struct pci_bits hpt36x_enable_bits[] = { | 225 | static const struct pci_bits hpt36x_enable_bits[] = { |
| 226 | { 0x50, 1, 0x04, 0x04 }, | 226 | { 0x50, 1, 0x04, 0x04 }, |
| @@ -231,7 +231,7 @@ static int hpt36x_pre_reset(struct ata_port *ap) | |||
| 231 | if (!pci_test_config_bits(pdev, &hpt36x_enable_bits[ap->port_no])) | 231 | if (!pci_test_config_bits(pdev, &hpt36x_enable_bits[ap->port_no])) |
| 232 | return -ENOENT; | 232 | return -ENOENT; |
| 233 | 233 | ||
| 234 | return ata_std_prereset(ap); | 234 | return ata_std_prereset(ap, deadline); |
| 235 | } | 235 | } |
| 236 | 236 | ||
| 237 | /** | 237 | /** |
