summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx
diff options
context:
space:
mode:
authorCong Ding <dinggnu@gmail.com>2013-01-18 08:58:23 -0800
committerKukjin Kim <kgene.kim@samsung.com>2013-01-28 14:27:49 -0800
commit813f13e7d6ad239bb1003041f4cfae13ae27b14d (patch)
tree4e345d12f7a5bd340dcbed046131f79b30be1ba5 /arch/arm/mach-s3c24xx
parent949db153b6466c6f7cad5a427ecea94985927311 (diff)
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')
-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 0c9e9a785ef..6bcf87f65f9 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