From: Axel Lin Date: Thu, 8 Jul 2010 01:50:30 +0000 (+0800) Subject: msi-wmi: make needlessly global symbols static X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=8700e1612e19f752be507f7fdcd8b48ba1b425ee;p=deliverable%2Flinux.git msi-wmi: make needlessly global symbols static backlight is needlessly defined global. This patch makes the symbol static. Signed-off-by: Axel Lin Acked-by: Anisse Astier Signed-off-by: Matthew Garrett --- 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 };