From: Linus Walleij Date: Sun, 17 Apr 2011 18:32:19 +0000 (+0200) Subject: rtc: fix coh901331 startup crash X-Git-Tag: v2.6.39-rc5~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cf3b5fa6f7b246784d62a2a7637a871290c9ab9;p=pandora-kernel.git rtc: fix coh901331 startup crash The rtc_device_register() call has changed semantics so that it will immediately call out to rtc_read_alarm() and since the callbacks require the drvdata to be set, we need to set it before the registration call to avoid NULL dereference. Signed-off-by: Linus Walleij --- Reading git-diff-tree failed