pata_acpi: fix build breakage if !CONFIG_PM
authorTejun Heo <htejun@gmail.com>
Wed, 17 Oct 2007 06:24:16 +0000 (15:24 +0900)
committerJeff Garzik <jeff@garzik.org>
Thu, 18 Oct 2007 00:48:30 +0000 (20:48 -0400)
commit8e2840e06d7da7ae17b1fbc416155a40b22e00ad
tree673378cec1faeeebf5ed0e05054c5368849ae999
parentd85714d81cc0408daddb68c10f7fd69eafe7c213
pata_acpi: fix build breakage if !CONFIG_PM

There are configurations where CONFIG_ACPI but !CONFIG_PM.  In this
case, pata_acpi can be selected but won't build.  Fix it.

Reported by Avuton Olrich.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Avuton Olrich <avuton@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_acpi.c