aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi')
-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)
297 int status; 297 int status;
298 union acpi_object arg0 = { ACPI_TYPE_INTEGER }; 298 union acpi_object arg0 = { ACPI_TYPE_INTEGER };
299 struct acpi_object_list args = { 1, &arg0 }; 299 struct acpi_object_list args = { 1, &arg0 };
300 unsigned long ret;
300 301
301 ACPI_FUNCTION_TRACE("acpi_video_device_set_state"); 302 ACPI_FUNCTION_TRACE("acpi_video_device_set_state");
302 303
303 arg0.integer.value = state; 304 arg0.integer.value = state;
304 status = acpi_evaluate_integer(device->handle, "_DSS", &args, NULL); 305 status = acpi_evaluate_integer(device->handle, "_DSS", &args, &ret);
305 306
306 return_VALUE(status); 307 return_VALUE(status);
307} 308}