diff options
Diffstat (limited to 'drivers/misc/thinkpad_acpi.h')
| -rw-r--r-- | drivers/misc/thinkpad_acpi.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/misc/thinkpad_acpi.h b/drivers/misc/thinkpad_acpi.h index 3abcc8120634..8fba2bbe345e 100644 --- a/drivers/misc/thinkpad_acpi.h +++ b/drivers/misc/thinkpad_acpi.h | |||
| @@ -84,7 +84,7 @@ | |||
| 84 | 84 | ||
| 85 | /* ThinkPad CMOS NVRAM constants */ | 85 | /* ThinkPad CMOS NVRAM constants */ |
| 86 | #define TP_NVRAM_ADDR_BRIGHTNESS 0x5e | 86 | #define TP_NVRAM_ADDR_BRIGHTNESS 0x5e |
| 87 | #define TP_NVRAM_MASK_LEVEL_BRIGHTNESS 0x07 | 87 | #define TP_NVRAM_MASK_LEVEL_BRIGHTNESS 0x0f |
| 88 | #define TP_NVRAM_POS_LEVEL_BRIGHTNESS 0 | 88 | #define TP_NVRAM_POS_LEVEL_BRIGHTNESS 0 |
| 89 | 89 | ||
| 90 | #define onoff(status,bit) ((status) & (1 << (bit)) ? "on" : "off") | 90 | #define onoff(status,bit) ((status) & (1 << (bit)) ? "on" : "off") |
| @@ -246,6 +246,7 @@ static struct { | |||
| 246 | u32 hotkey_wlsw:1; | 246 | u32 hotkey_wlsw:1; |
| 247 | u32 light:1; | 247 | u32 light:1; |
| 248 | u32 light_status:1; | 248 | u32 light_status:1; |
| 249 | u32 bright_16levels:1; | ||
| 249 | u32 wan:1; | 250 | u32 wan:1; |
| 250 | u32 fan_ctrl_status_undef:1; | 251 | u32 fan_ctrl_status_undef:1; |
| 251 | u32 input_device_registered:1; | 252 | u32 input_device_registered:1; |
| @@ -338,6 +339,7 @@ static int bluetooth_write(char *buf); | |||
| 338 | static struct backlight_device *ibm_backlight_device; | 339 | static struct backlight_device *ibm_backlight_device; |
| 339 | static int brightness_offset = 0x31; | 340 | static int brightness_offset = 0x31; |
| 340 | static int brightness_mode; | 341 | static int brightness_mode; |
| 342 | static unsigned int brightness_enable; /* 0 = no, 1 = yes, 2 = auto */ | ||
| 341 | 343 | ||
| 342 | static int brightness_init(struct ibm_init_struct *iibm); | 344 | static int brightness_init(struct ibm_init_struct *iibm); |
| 343 | static void brightness_exit(void); | 345 | static void brightness_exit(void); |
