[POWERPC] powermac i2c: Use mutex
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 3 Jul 2007 23:01:54 +0000 (09:01 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Jul 2007 11:55:54 +0000 (21:55 +1000)
commit76a5b8bb3525b63db137c714cf9ad5b3b99e75f0
tree280f1db1fa249f73b01353cc4f9a926adf31ff3d
parent0b7dbfbf13192a57591275d50b0993cb0acdb25c
[POWERPC] powermac i2c: Use mutex

Convert the semaphores in low_i2c that are used as mutexes to real
mutexes.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/powermac/low_i2c.c