fix rwlock usage example

This is a trivial patch which fixes a typo on rwlock usage under
Documentation/spinlocks.txt.

Signed-Off-By: Lucas Correia Villa Real <[email protected]>
Signed-off-by: Adrian Bunk <[email protected]>
This commit is contained in:
Lucas Correia Villa Real 2006-03-22 00:19:39 +01:00 • committed by Adrian Bunk
commit 7ad4a5d568

View file

@ -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);
...
}