]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MTD] NAND Initialize controller lock and wq only once
authorThomas Gleixner <tglx@cruncher.tec.linutronix.de>
Thu, 25 May 2006 07:45:29 +0000 (09:45 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 25 May 2006 11:45:26 +0000 (12:45 +0100)
commit04bbd0eafb0c733c6c7f5d63c5098c615fe0685a
treee4bf0095d7a46912d13a1508ba9acd6e39fa3733
parent8b9e9fe8c6ee354aa75dc5a33e1575b21aa52084
[MTD] NAND Initialize controller lock and wq only once

The lock simplifying patch did not move the lock and waitqueue
initialization into the controller allocation patch.
This reinitializes waitqueue and spinlocks also for driver
supplied controller stuctures. Move it into the allocation path.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/ndfc.c