summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/video.c
diff options
context:
space:
mode:
authorLuming Yu <luming.yu@intel.com>2005-08-22 01:17:00 +0200
committerLen Brown <len.brown@intel.com>2005-09-03 07:28:06 +0200
commit824b558bbe2c298b165cdb54c33718994dda30bb (patch)
tree5c4a62a57473720f6e81be75fa4cc2ad043ecbe7 /drivers/acpi/video.c
parent[ACPI] fix processor_core.c for NR_CPUS > 256 (diff)
downloadlinux-824b558bbe2c298b165cdb54c33718994dda30bb.tar.xz
linux-824b558bbe2c298b165cdb54c33718994dda30bb.zip
[ACPI] acpi_video_device_write_state() now works
http://bugzilla.kernel.org/show_bug.cgi?id=5060 Signed-off-by: Luming Yu <luming.yu@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/video.c')
-rw-r--r--drivers/acpi/video.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index b9132b5ac0f0..e383d6109ae1 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -297,11 +297,12 @@ acpi_video_device_set_state(struct acpi_video_device *device, int state)
int status;
union acpi_object arg0 = { ACPI_TYPE_INTEGER };
struct acpi_object_list args = { 1, &arg0 };
+ unsigned long ret;
ACPI_FUNCTION_TRACE("acpi_video_device_set_state");
arg0.integer.value = state;
- status = acpi_evaluate_integer(device->handle, "_DSS", &args, NULL);
+ status = acpi_evaluate_integer(device->handle, "_DSS", &args, &ret);
return_VALUE(status);
}