diff options
author | Milind Arun Choudhary <milindchoudhary@gmail.com> | 2007-05-01 17:26:34 -0400 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2007-05-01 17:26:34 -0400 |
commit | 35532d20035d04b0ec28508583a56c7a65c5fa47 (patch) | |
tree | fa96aba5029c34431be334c5fc0269dcf80d95c1 /drivers/i2c/busses/i2c-s3c2410.c | |
parent | 11de70bd4d40a1a39c1133b260bfbd6306e981d3 (diff) |
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-s3c2410.c')
-rw-r--r-- | drivers/i2c/busses/i2c-s3c2410.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index 556f244aae76..3eb5958f347d 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++ b/drivers/i2c/busses/i2c-s3c2410.c | |||
@@ -570,7 +570,7 @@ static const struct i2c_algorithm s3c24xx_i2c_algorithm = { | |||
570 | }; | 570 | }; |
571 | 571 | ||
572 | static struct s3c24xx_i2c s3c24xx_i2c = { | 572 | static struct s3c24xx_i2c s3c24xx_i2c = { |
573 | .lock = SPIN_LOCK_UNLOCKED, | 573 | .lock = __SPIN_LOCK_UNLOCKED(s3c24xx_i2c.lock), |
574 | .wait = __WAIT_QUEUE_HEAD_INITIALIZER(s3c24xx_i2c.wait), | 574 | .wait = __WAIT_QUEUE_HEAD_INITIALIZER(s3c24xx_i2c.wait), |
575 | .adap = { | 575 | .adap = { |
576 | .name = "s3c2410-i2c", | 576 | .name = "s3c2410-i2c", |