diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2012-07-02 12:10:41 +1000 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-07-25 16:02:19 -0400 |
commit | 354b2eac3848bddbcb111079138b907ccca70ae8 (patch) | |
tree | e200bd9ec54378d02a0420191ae06075ff7bf6d5 /drivers/ata/pata_cmd64x.c | |
parent | 8407884dd9164ec18ed2afc00f56b87e36c51fcf (diff) | |
download | linux-354b2eac3848bddbcb111079138b907ccca70ae8.tar.gz linux-354b2eac3848bddbcb111079138b907ccca70ae8.tar.bz2 linux-354b2eac3848bddbcb111079138b907ccca70ae8.zip |
libata-acpi: fix up for acpi_pm_device_sleep_state API
After merging the libata tree, today's [2012-07-01] linux-next build (x86_64
allmodconfig) failed like this:
drivers/ata/libata-acpi.c: In function 'ata_acpi_set_state':
drivers/ata/libata-acpi.c:872:5: error: too few arguments to function 'acpi_pm_device_sleep_state'
include/acpi/acpi_bus.h:418:5: note: declared here
Caused by commit 3bd46600a7a7 ("libata-acpi: add ata port runtime D3Cold
support") from the libata tree interacting with commit ee85f543710d
("ACPI/PM: specify lowest allowed state for device sleep state") from the
pci tree.
This patch adds ACPI_STATE_D3 as the new third parameter to
acpi_pm_device_sleep_state()
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_cmd64x.c')
0 files changed, 0 insertions, 0 deletions