git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[pandora-kernel.git]
/
drivers
/
platform
/
x86
/
eeepc-wmi.c
diff --git
a/drivers/platform/x86/eeepc-wmi.c
b/drivers/platform/x86/eeepc-wmi.c
index
b227eb4
..
9dc50fb
100644
(file)
--- 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)
{
struct backlight_device *bd = eeepc->backlight_device;
int old = bd->props.brightness;
- int new;
+ int new
= old
;
if (code >= NOTIFY_BRNUP_MIN && code <= NOTIFY_BRNUP_MAX)
new = code - NOTIFY_BRNUP_MIN + 1;