]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - Documentation/block/biodoc.txt
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6
[linux-2.6-omap-h63xx.git] / Documentation / block / biodoc.txt
index 93f223b9723f8c66d81e92edd290f607d5469c34..4dbb8be1c991c3b4049d69ff68c99c12e5f34ce3 100644 (file)
@@ -1097,7 +1097,7 @@ lock themselves, if required. Drivers that explicitly used the
 io_request_lock for serialization need to be modified accordingly.
 Usually it's as easy as adding a global lock:
 
-       static spinlock_t my_driver_lock = SPIN_LOCK_UNLOCKED;
+       static DEFINE_SPINLOCK(my_driver_lock);
 
 and passing the address to that lock to blk_init_queue().