projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c3f6e6
)
msi-wmi: make needlessly global symbols static
author
Axel Lin
<axel.lin@gmail.com>
Thu, 8 Jul 2010 01:50:30 +0000
(09:50 +0800)
committer
Matthew Garrett
<mjg@redhat.com>
Tue, 3 Aug 2010 13:49:10 +0000
(09:49 -0400)
backlight is needlessly defined global.
This patch makes the symbol static.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Anisse Astier <anisse@astier.eu>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/msi-wmi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/platform/x86/msi-wmi.c
b/drivers/platform/x86/msi-wmi.c
index d1736009636fadcd3f8bf7ad63f125b798cbe37a..42a5469a2459d9cf35f7a014f93e977fa0463df5 100644
(file)
--- a/
drivers/platform/x86/msi-wmi.c
+++ b/
drivers/platform/x86/msi-wmi.c
@@
-57,7
+57,7
@@
static struct key_entry msi_wmi_keymap[] = {
};
static ktime_t last_pressed[ARRAY_SIZE(msi_wmi_keymap) - 1];
-struct backlight_device *backlight;
+st
atic st
ruct backlight_device *backlight;
static int backlight_map[] = { 0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF };