summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx/common.c
diff options
context:
space:
mode:
authorCong Ding <dinggnu@gmail.com>2013-01-18 17:58:23 +0100
committerKukjin Kim <kgene.kim@samsung.com>2013-01-28 23:27:49 +0100
commit813f13e7d6ad239bb1003041f4cfae13ae27b14d (patch)
tree4e345d12f7a5bd340dcbed046131f79b30be1ba5 /arch/arm/mach-s3c24xx/common.c
parentLinux 3.8-rc5 (diff)
downloadlinux-813f13e7d6ad239bb1003041f4cfae13ae27b14d.tar.xz
linux-813f13e7d6ad239bb1003041f4cfae13ae27b14d.zip
ARM: S3C24XX: fix uninitialized variable warning
the use of variable tmp is uninitialized, so we fix it. Signed-off-by: Cong Ding <dinggnu@gmail.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/common.c')
-rw-r--r--arch/arm/mach-s3c24xx/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c24xx/common.c b/arch/arm/mach-s3c24xx/common.c
index 0c9e9a785ef6..6bcf87f65f9e 100644
--- a/arch/arm/mach-s3c24xx/common.c
+++ b/arch/arm/mach-s3c24xx/common.c
@@ -197,7 +197,7 @@ static unsigned long s3c24xx_read_idcode_v4(void)
static void s3c24xx_default_idle(void)
{
- unsigned long tmp;
+ unsigned long tmp = 0;
int i;
/* idle the system by using the idle mode which will wait for an