634ea44
From: Josh Boyer <jwboyer@fedoraproject.org>
634ea44
Date: Mon, 28 Jul 2014 12:59:48 -0400
634ea44
Subject: [PATCH] Revert "Revert "ACPI / video: change acpi-video
634ea44
 brightness_switch_enabled default to 0""
634ea44
634ea44
This reverts commit 2843768b701971ab10e62c77d5c75ad7c306f1bd.
dbc4a9b
dbc4a9b
Bugzilla: N/A
dbc4a9b
Upstream-status: Sigh.  We almost got to drop this.
dbc4a9b
dbc4a9b
Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
634ea44
---
634ea44
 Documentation/kernel-parameters.txt | 2 +-
634ea44
 drivers/acpi/video.c                | 2 +-
634ea44
 2 files changed, 2 insertions(+), 2 deletions(-)
634ea44
634ea44
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
2f08a80
index 4d68ec841304..77b2fb4125ef 100644
634ea44
--- a/Documentation/kernel-parameters.txt
634ea44
+++ b/Documentation/kernel-parameters.txt
2f08a80
@@ -3824,7 +3824,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
634ea44
 			the allocated input device; If set to 0, video driver
634ea44
 			will only send out the event without touching backlight
634ea44
 			brightness level.
634ea44
-			default: 1
634ea44
+			default: 0
634ea44
 
634ea44
 	virtio_mmio.device=
634ea44
 			[VMMIO] Memory mapped virtio (platform) device.
634ea44
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
2f08a80
index 26eb70c8f518..db70d550f526 100644
634ea44
--- a/drivers/acpi/video.c
634ea44
+++ b/drivers/acpi/video.c
634ea44
@@ -68,7 +68,7 @@ MODULE_AUTHOR("Bruno Ducrot");
634ea44
 MODULE_DESCRIPTION("ACPI Video Driver");
634ea44
 MODULE_LICENSE("GPL");
634ea44
 
634ea44
-static bool brightness_switch_enabled = 1;
634ea44
+static bool brightness_switch_enabled;
634ea44
 module_param(brightness_switch_enabled, bool, 0644);
634ea44
 
634ea44
 /*