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