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