ahci: Add ifdef wrapper to ahci_gtf_filter_workaround
authorMarkus Trippelsdorf <markus@trippelsdorf.de>
Fri, 9 Oct 2009 03:41:47 +0000 (05:41 +0200)
committerMatt Sealey <neko@excel.(none)>
Tue, 10 Aug 2010 16:50:53 +0000 (11:50 -0500)
commite5cb3c602d988915108cdb73c65e83745beaad40
tree70ea9e0247fdbd3367dbff0ab0115d26653d5724
parentb8482932d91dc742932078d2828b568cb1ba7779
ahci: Add ifdef wrapper to ahci_gtf_filter_workaround

Commit f80ae7e45a0e03da188494c6e947a5c8b0cdfb4a
ahci: filter FPDMA non-zero offset enable for Aspire 3810T
breaks the current git build for configurations that don't define
CONFIG_ATA_ACPI.
This adds an ifdef wrapper to ahci_gtf_filter_workaround.

Signed-off-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ahci.c