git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf568c5
)
rtc: fix coh901331 startup crash
author
Linus Walleij
<linus.walleij@linaro.org>
Sun, 17 Apr 2011 18:32:19 +0000
(20:32 +0200)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 20 Apr 2011 16:46:56 +0000
(18:46 +0200)
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>
No differences found