commit | 1043bf5c95cf065c9959c2733d6e868f9806eb66 | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Wed Sep 09 12:13:01 2009 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Wed Sep 09 12:13:01 2009 +0900 |
tree | 8272a12e7d6205edc622cce3b28a4f7d0b7bc107 | |
parent | e7a963ef20cabde53d0e609737764ddc65f4605a [diff] |
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 <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>