commit | 9cf3b5fa6f7b246784d62a2a7637a871290c9ab9 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Sun Apr 17 20:32:19 2011 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Apr 20 18:46:56 2011 +0200 |
tree | e11c99e1af553d14619feba4f40d163df95fa09a | |
parent | cf568c58eb192368f5e796df935704535b54f451 [diff] |
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 <linus.walleij@linaro.org>