diff options
-rw-r--r-- | drivers/platform/x86/eeepc-wmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index b227eb469f49..9dc50fbf3d0b 100644 --- a/drivers/platform/x86/eeepc-wmi.c +++ b/drivers/platform/x86/eeepc-wmi.c | |||
@@ -206,7 +206,7 @@ static int eeepc_wmi_backlight_notify(struct eeepc_wmi *eeepc, int code) | |||
206 | { | 206 | { |
207 | struct backlight_device *bd = eeepc->backlight_device; | 207 | struct backlight_device *bd = eeepc->backlight_device; |
208 | int old = bd->props.brightness; | 208 | int old = bd->props.brightness; |
209 | int new; | 209 | int new = old; |
210 | 210 | ||
211 | if (code >= NOTIFY_BRNUP_MIN && code <= NOTIFY_BRNUP_MAX) | 211 | if (code >= NOTIFY_BRNUP_MIN && code <= NOTIFY_BRNUP_MAX) |
212 | new = code - NOTIFY_BRNUP_MIN + 1; | 212 | new = code - NOTIFY_BRNUP_MIN + 1; |