Commit 7ad4a5d5 authored by Lucas Correia Villa Real's avatar Lucas Correia Villa Real Committed by Adrian Bunk

fix rwlock usage example

This is a trivial patch which fixes a typo on rwlock usage under
Documentation/spinlocks.txt.
Signed-Off-By: default avatarLucas Correia Villa Real <lucasvr@gobolinux.org>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent 4de151d8
......@@ -9,7 +9,7 @@ removed soon. So for any new code dynamic initialization should be used:
static int __init xxx_init(void)
{
spin_lock_init(&xxx_lock);
rw_lock_init(&xxx_rw_lock);
rwlock_init(&xxx_rw_lock);
...
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment