libata: make gtf_filter per-dev
authorTejun Heo <tj@kernel.org>
Tue, 15 Sep 2009 19:17:28 +0000 (04:17 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 6 Oct 2009 04:26:27 +0000 (00:26 -0400)
commit110f66d25c33c2259b1125255fa7063ab07b8340
tree2d524b3f27aa168eb01cbb007c2bfa195bea42f4
parentfa5b561c4ea170caf9759109acc2e961a7e83bea
libata: make gtf_filter per-dev

Add ->gtf_filter to ata_device and set it to ata_acpi_gtf_filter when
initializing ata_link.  This is to allow quirks which apply different
gtf filters.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-acpi.c
drivers/ata/libata-core.c
drivers/ata/libata.h
include/linux/libata.h