summaryrefslogtreecommitdiff
path: root/arch/arm/plat-samsung/pm.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-08-07 14:17:14 +0400
committerKukjin Kim <kgene.kim@samsung.com>2012-08-08 04:04:51 +0400
commitc0401241c01705205ed6f2b88460df1133591f58 (patch)
tree68debe313bea3556282acdfd8f84233d91ba1b98 /arch/arm/plat-samsung/pm.c
parentb01858c7806e7e6f6121da2e51c9222fc4d21dc6 (diff)
downloadlinux-c0401241c01705205ed6f2b88460df1133591f58.tar.xz
ARM: Samsung: Make uart_save static in pm.c file
Fixes the following sparse warning: arch/arm/plat-samsung/pm.c:77:21: warning: symbol 'uart_save' was not declared. Should it be static? Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/pm.c')
-rw-r--r--arch/arm/plat-samsung/pm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/pm.c b/arch/arm/plat-samsung/pm.c
index 64ab65f0fdbc..15070284343e 100644
--- a/arch/arm/plat-samsung/pm.c
+++ b/arch/arm/plat-samsung/pm.c
@@ -74,7 +74,7 @@ unsigned char pm_uart_udivslot;
#ifdef CONFIG_SAMSUNG_PM_DEBUG
-struct pm_uart_save uart_save[CONFIG_SERIAL_SAMSUNG_UARTS];
+static struct pm_uart_save uart_save[CONFIG_SERIAL_SAMSUNG_UARTS];
static void s3c_pm_save_uart(unsigned int uart, struct pm_uart_save *save)
{