summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-pxa.c
diff options
context:
space:
mode:
authorMilind Arun Choudhary <milindchoudhary@gmail.com>2007-05-01 23:26:34 +0200
committerJean Delvare <khali@hyperion.delvare>2007-05-01 23:26:34 +0200
commit35532d20035d04b0ec28508583a56c7a65c5fa47 (patch)
treefa96aba5029c34431be334c5fc0269dcf80d95c1 /drivers/i2c/busses/i2c-pxa.c
parent11de70bd4d40a1a39c1133b260bfbd6306e981d3 (diff)
downloadtalos-op-linux-35532d20035d04b0ec28508583a56c7a65c5fa47.tar.gz
talos-op-linux-35532d20035d04b0ec28508583a56c7a65c5fa47.zip
i2c: SPIN_LOCK_UNLOCKED cleanup
SPIN_LOCK_UNLOCKED cleanup, use __SPIN_LOCK_UNLOCKED instead. Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-pxa.c')
-rw-r--r--drivers/i2c/busses/i2c-pxa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c
index 2fc3bcec24d8..c059b27fa881 100644
--- a/drivers/i2c/busses/i2c-pxa.c
+++ b/drivers/i2c/busses/i2c-pxa.c
@@ -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,
OpenPOWER on IntegriCloud