diff options
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r-- | drivers/ata/libata-core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 0ddaf43d68c6..b525a0981348 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -5591,6 +5591,9 @@ void ata_link_init(struct ata_port *ap, struct ata_link *link, int pmp) | |||
5591 | 5591 | ||
5592 | dev->link = link; | 5592 | dev->link = link; |
5593 | dev->devno = dev - link->device; | 5593 | dev->devno = dev - link->device; |
5594 | #ifdef CONFIG_ATA_ACPI | ||
5595 | dev->gtf_filter = ata_acpi_gtf_filter; | ||
5596 | #endif | ||
5594 | ata_dev_init(dev); | 5597 | ata_dev_init(dev); |
5595 | } | 5598 | } |
5596 | } | 5599 | } |