diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2011-04-17 20:32:19 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2011-04-20 18:46:56 +0200 |
commit | 9cf3b5fa6f7b246784d62a2a7637a871290c9ab9 (patch) | |
tree | e11c99e1af553d14619feba4f40d163df95fa09a /arch | |
parent | mach-ux500: fix i2c0 device setup regression (diff) | |
download | linux-9cf3b5fa6f7b246784d62a2a7637a871290c9ab9.tar.xz linux-9cf3b5fa6f7b246784d62a2a7637a871290c9ab9.zip |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions