summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-08-07 12:17:14 +0200
committerKukjin Kim <kgene.kim@samsung.com>2012-08-08 02:04:51 +0200
commitc0401241c01705205ed6f2b88460df1133591f58 (patch)
tree68debe313bea3556282acdfd8f84233d91ba1b98 /arch/arm/plat-samsung
parentARM: S3C24XX: Fix s3c2410_dma_enqueue parameters (diff)
downloadlinux-c0401241c01705205ed6f2b88460df1133591f58.tar.xz
linux-c0401241c01705205ed6f2b88460df1133591f58.zip
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')
-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)
{