From: Maurus Cuelenaere Date: Fri, 4 Jun 2010 21:14:44 +0000 (-0700) Subject: rtc: s3c: initialize driver data before using it X-Git-Tag: v2.6.35-rc2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e893de59a4982791368b3ce412bc67dd601a88a0;p=pandora-kernel.git rtc: s3c: initialize driver data before using it s3c_rtc_setfreq() uses the platform driver data to derive struct rtc_device, so make sure drvdata is set _before_ s3c_rtc_setfreq() is called. Signed-off-by: Maurus Cuelenaere Cc: Paul Gortmaker Cc: Alessandro Zummo Cc: Maurus Cuelenaere Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed