gpio: Add missing spin_lock_init in gpio-ml-ioh driver
authorAxel Lin <axel.lin@gmail.com>
Wed, 1 Feb 2012 02:50:05 +0000 (10:50 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 2 Feb 2012 04:59:37 +0000 (21:59 -0700)
commit7e3a70fb7bccada029c188c89bfbf3c0a63c1500
treeb333d3233560bfa5b32bf2fea659ecdadd92d2b4
parentd166370ad86b33b1111af3a0cdd7de94e03789a6
gpio: Add missing spin_lock_init in gpio-ml-ioh driver

This bug was introduced by commit 54be5663
"gpio-ml-ioh: Support interrupt function" which adds a spinlock to struct
ioh_gpio but never init the spinlock.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-ml-ioh.c