]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/i2c/busses/i2c-pxa.c
i2c: SPIN_LOCK_UNLOCKED cleanup
[linux-2.6-omap-h63xx.git] / drivers / i2c / busses / i2c-pxa.c
index 2fc3bcec24d8550b8e5e34c762beb15101c2dc74..c059b27fa88194901d2381e2de738b2e4642d150 100644 (file)
@@ -838,7 +838,7 @@ static const struct i2c_algorithm i2c_pxa_algorithm = {
 };
 
 static struct pxa_i2c i2c_pxa = {
-       .lock   = SPIN_LOCK_UNLOCKED,
+       .lock   = __SPIN_LOCK_UNLOCKED(i2c_pxa.lock),
        .adap   = {
                .owner          = THIS_MODULE,
                .algo           = &i2c_pxa_algorithm,