aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/acpi/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index 71fa1011715f..b3b352b8330a 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -1585,7 +1585,7 @@ acpi_video_switch_output(
1585 ACPI_FUNCTION_TRACE("acpi_video_switch_output"); 1585 ACPI_FUNCTION_TRACE("acpi_video_switch_output");
1586 1586
1587 list_for_each_safe(node, next, &video->video_device_list) { 1587 list_for_each_safe(node, next, &video->video_device_list) {
1588 struct acpi_video_device * dev = container_of(node, struct acpi_video_device, entry); 1588 dev = container_of(node, struct acpi_video_device, entry);
1589 status = acpi_video_device_get_state(dev, &state); 1589 status = acpi_video_device_get_state(dev, &state);
1590 if (state & 0x2){ 1590 if (state & 0x2){
1591 dev_next = container_of(node->next, struct acpi_video_device, entry); 1591 dev_next = container_of(node->next, struct acpi_video_device, entry);