diff options
Diffstat (limited to 'drivers/ata/pata_ns87410.c')
-rw-r--r-- | drivers/ata/pata_ns87410.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/ata/pata_ns87410.c b/drivers/ata/pata_ns87410.c index 078aeda9cf8d..ebc58a907d26 100644 --- a/drivers/ata/pata_ns87410.c +++ b/drivers/ata/pata_ns87410.c | |||
@@ -33,11 +33,12 @@ | |||
33 | /** | 33 | /** |
34 | * ns87410_pre_reset - probe begin | 34 | * ns87410_pre_reset - probe begin |
35 | * @ap: ATA port | 35 | * @ap: ATA port |
36 | * @deadline: deadline jiffies for the operation | ||
36 | * | 37 | * |
37 | * Check enabled ports | 38 | * Check enabled ports |
38 | */ | 39 | */ |
39 | 40 | ||
40 | static int ns87410_pre_reset(struct ata_port *ap) | 41 | static int ns87410_pre_reset(struct ata_port *ap, unsigned long deadline) |
41 | { | 42 | { |
42 | struct pci_dev *pdev = to_pci_dev(ap->host->dev); | 43 | struct pci_dev *pdev = to_pci_dev(ap->host->dev); |
43 | static const struct pci_bits ns87410_enable_bits[] = { | 44 | static const struct pci_bits ns87410_enable_bits[] = { |
@@ -47,7 +48,8 @@ static int ns87410_pre_reset(struct ata_port *ap) | |||
47 | 48 | ||
48 | if (!pci_test_config_bits(pdev, &ns87410_enable_bits[ap->port_no])) | 49 | if (!pci_test_config_bits(pdev, &ns87410_enable_bits[ap->port_no])) |
49 | return -ENOENT; | 50 | return -ENOENT; |
50 | return ata_std_prereset(ap); | 51 | |
52 | return ata_std_prereset(ap, deadline); | ||
51 | } | 53 | } |
52 | 54 | ||
53 | /** | 55 | /** |