diff options
Diffstat (limited to 'drivers/ata/pata_optidma.c')
-rw-r--r-- | drivers/ata/pata_optidma.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ata/pata_optidma.c b/drivers/ata/pata_optidma.c index b70e04c144d..2843e480f21 100644 --- a/drivers/ata/pata_optidma.c +++ b/drivers/ata/pata_optidma.c | |||
@@ -48,11 +48,12 @@ static int pci_clock; /* 0 = 33 1 = 25 */ | |||
48 | /** | 48 | /** |
49 | * optidma_pre_reset - probe begin | 49 | * optidma_pre_reset - probe begin |
50 | * @ap: ATA port | 50 | * @ap: ATA port |
51 | * @deadline: deadline jiffies for the operation | ||
51 | * | 52 | * |
52 | * Set up cable type and use generic probe init | 53 | * Set up cable type and use generic probe init |
53 | */ | 54 | */ |
54 | 55 | ||
55 | static int optidma_pre_reset(struct ata_port *ap) | 56 | static int optidma_pre_reset(struct ata_port *ap, unsigned long deadline) |
56 | { | 57 | { |
57 | struct pci_dev *pdev = to_pci_dev(ap->host->dev); | 58 | struct pci_dev *pdev = to_pci_dev(ap->host->dev); |
58 | static const struct pci_bits optidma_enable_bits = { | 59 | static const struct pci_bits optidma_enable_bits = { |
@@ -62,7 +63,7 @@ static int optidma_pre_reset(struct ata_port *ap) | |||
62 | if (ap->port_no && !pci_test_config_bits(pdev, &optidma_enable_bits)) | 63 | if (ap->port_no && !pci_test_config_bits(pdev, &optidma_enable_bits)) |
63 | return -ENOENT; | 64 | return -ENOENT; |
64 | 65 | ||
65 | return ata_std_prereset(ap); | 66 | return ata_std_prereset(ap, deadline); |
66 | } | 67 | } |
67 | 68 | ||
68 | /** | 69 | /** |