Commit 8700e1612e19f752be507f7fdcd8b48ba1b425ee

Authored by Axel Lin
Committed by Matthew Garrett
1 parent 6c3f6e6c57

msi-wmi: make needlessly global symbols static

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/platform/x86/msi-wmi.c
... ... @@ -57,7 +57,7 @@
57 57 };
58 58 static ktime_t last_pressed[ARRAY_SIZE(msi_wmi_keymap) - 1];
59 59  
60   -struct backlight_device *backlight;
  60 +static struct backlight_device *backlight;
61 61  
62 62 static int backlight_map[] = { 0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF };
63 63