diff options
Diffstat (limited to 'drivers/ata/sata_via.c')
-rw-r--r-- | drivers/ata/sata_via.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_via.c b/drivers/ata/sata_via.c index 57fd30de8f0d..78a6833af713 100644 --- a/drivers/ata/sata_via.c +++ b/drivers/ata/sata_via.c | |||
@@ -296,7 +296,7 @@ static void svia_noop_freeze(struct ata_port *ap) | |||
296 | */ | 296 | */ |
297 | static int vt6420_prereset(struct ata_port *ap, unsigned long deadline) | 297 | static int vt6420_prereset(struct ata_port *ap, unsigned long deadline) |
298 | { | 298 | { |
299 | struct ata_eh_context *ehc = &ap->eh_context; | 299 | struct ata_eh_context *ehc = &ap->link.eh_context; |
300 | unsigned long timeout = jiffies + (HZ * 5); | 300 | unsigned long timeout = jiffies + (HZ * 5); |
301 | u32 sstatus, scontrol; | 301 | u32 sstatus, scontrol; |
302 | int online; | 302 | int online; |