https://github.com/torvalds/linux
Revision 9cf3b5fa6f7b246784d62a2a7637a871290c9ab9 authored by Linus Walleij on 17 April 2011, 18:32:19 UTC, committed by Linus Walleij on 20 April 2011, 16:46:56 UTC
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>
1 parent cf568c5
History
Tip revision: 9cf3b5fa6f7b246784d62a2a7637a871290c9ab9 authored by Linus Walleij on 17 April 2011, 18:32:19 UTC
rtc: fix coh901331 startup crash
Tip revision: 9cf3b5f
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 941 bytes
.mailmap -rw-r--r-- 4.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.7 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 188.2 KB
Makefile -rw-r--r-- 51.1 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top