summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-07-08 09:50:30 +0800
committerMatthew Garrett <mjg@redhat.com>2010-08-03 09:49:10 -0400
commit8700e1612e19f752be507f7fdcd8b48ba1b425ee (patch)
tree6c8e84ef362f4e4617dfa637e1f9d25460627b56 /drivers/platform
parent6c3f6e6c575a0a992429427d4978c6091756a526 (diff)
downloadblackbird-op-linux-8700e1612e19f752be507f7fdcd8b48ba1b425ee.tar.gz
blackbird-op-linux-8700e1612e19f752be507f7fdcd8b48ba1b425ee.zip
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/msi-wmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/msi-wmi.c b/drivers/platform/x86/msi-wmi.c
index d1736009636f..42a5469a2459 100644
--- 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;
+static struct backlight_device *backlight;
static int backlight_map[] = { 0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF };
OpenPOWER on IntegriCloud