From: Paul Mundt Date: Wed, 9 Sep 2009 03:13:01 +0000 (+0900) Subject: rtc: rtc-sh: Fix up oops in early periodic freq assignment. X-Git-Tag: v2.6.32-rc1~640^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1043bf5c95cf065c9959c2733d6e868f9806eb66;p=pandora-kernel.git rtc: rtc-sh: Fix up oops in early periodic freq assignment. With the reordered init order, the rtc device is not registered until later, while sh_rtc_irq_set_freq() was attempting to assign ->irq_freq directly, resulting in an oops. This is handled by the upper layers for us, so just kill off the problematic dereference completely. Reported-by: Guennadi Liakhovetski Signed-off-by: Paul Mundt --- Reading git-diff-tree failed