From: Maurus Cuelenaere Date: Fri, 4 Jun 2010 21:14:46 +0000 (-0700) Subject: rtc: s3c: initialize s3c_rtc_cpu_type before using it X-Git-Tag: v2.6.35-rc2~37 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=eaa6e4dd4bf243a357056448e54d7c673cd44acb rtc: s3c: initialize s3c_rtc_cpu_type before using it Make sure s3c_rtc_cpu_type is initialised _before_ it's used in an if() check. Reported-by: Jiri Pinkava Signed-off-by: Maurus Cuelenaere Cc: Paul Gortmaker Cc: Alessandro Zummo Cc: Maurus Cuelenaere Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed