diff options
author | Daniel Walker <dwalker@mvista.com> | 2008-01-10 23:53:21 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-01-29 05:15:01 -0500 |
commit | 8a39c520b28f1ffa528baaae6ecfaa3feb5377a5 (patch) | |
tree | fedbbff988de9586f4dd750d4c1dcadb2e3fe900 /arch/mips/lasat/picvue.c | |
parent | f6ed10ab972b00cd57567a2ac9e393226840e458 (diff) |
[MIPS] Lasat: Convert pvc_sem semaphore to mutex
I also changed the name to pvc_mutex, and moved the define to the file
it's used in which allows it to be static.
Signed-off-by: Daniel Walker <dwalker@mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/lasat/picvue.c')
-rw-r--r-- | arch/mips/lasat/picvue.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/lasat/picvue.c b/arch/mips/lasat/picvue.c index 6471d0663fd8..d3d04c392e25 100644 --- a/arch/mips/lasat/picvue.c +++ b/arch/mips/lasat/picvue.c | |||
@@ -22,8 +22,6 @@ | |||
22 | 22 | ||
23 | struct pvc_defs *picvue; | 23 | struct pvc_defs *picvue; |
24 | 24 | ||
25 | DECLARE_MUTEX(pvc_sem); | ||
26 | |||
27 | static void pvc_reg_write(u32 val) | 25 | static void pvc_reg_write(u32 val) |
28 | { | 26 | { |
29 | *picvue->reg = val; | 27 | *picvue->reg = val; |