sysfs: add parameter "struct bin_attribute *" in .read/.write methods for sysfs binar...
[safe/jmp/linux-2.6] / Documentation / spinlocks.txt
index c212299..a661d68 100644 (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);
        ...
    }