diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-10-30 16:02:07 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-11-05 13:07:11 -0500 |
commit | 87cc537a54fc017d998cf603f5fab9ca4a85d668 (patch) | |
tree | e69421b6f749853f2d9444c3f458b260eb503d4f /drivers/misc/thinkpad_acpi.h | |
parent | a3f104c02ab842574e699186cf953551aafe2ca9 (diff) |
ACPI: thinkpad-acpi: add brightness_force parameter
Add a "brightness_enable" module parameter that allows the local admin to
force the backlight support to not be enabled.
It can also be used to force the backlight support to be enabled, but that
is currently a no-op as the backlight support is enabled by default when
available. This will be changed by a different patch.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/misc/thinkpad_acpi.h')
-rw-r--r-- | drivers/misc/thinkpad_acpi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/thinkpad_acpi.h b/drivers/misc/thinkpad_acpi.h index 8ca19c33372..8fba2bbe345 100644 --- a/drivers/misc/thinkpad_acpi.h +++ b/drivers/misc/thinkpad_acpi.h | |||
@@ -339,6 +339,7 @@ static int bluetooth_write(char *buf); | |||
339 | static struct backlight_device *ibm_backlight_device; | 339 | static struct backlight_device *ibm_backlight_device; |
340 | static int brightness_offset = 0x31; | 340 | static int brightness_offset = 0x31; |
341 | static int brightness_mode; | 341 | static int brightness_mode; |
342 | static unsigned int brightness_enable; /* 0 = no, 1 = yes, 2 = auto */ | ||
342 | 343 | ||
343 | static int brightness_init(struct ibm_init_struct *iibm); | 344 | static int brightness_init(struct ibm_init_struct *iibm); |
344 | static void brightness_exit(void); | 345 | static void brightness_exit(void); |