summaryrefslogtreecommitdiff
path: root/arch/mips/lasat/picvue.c
diff options
context:
space:
mode:
authorDaniel Walker <dwalker@mvista.com>2008-01-11 07:53:21 +0300
committerRalf Baechle <ralf@linux-mips.org>2008-01-29 13:15:01 +0300
commit8a39c520b28f1ffa528baaae6ecfaa3feb5377a5 (patch)
treefedbbff988de9586f4dd750d4c1dcadb2e3fe900 /arch/mips/lasat/picvue.c
parentf6ed10ab972b00cd57567a2ac9e393226840e458 (diff)
downloadlinux-8a39c520b28f1ffa528baaae6ecfaa3feb5377a5.tar.xz
[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.c2
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 @@
struct pvc_defs *picvue;
-DECLARE_MUTEX(pvc_sem);
-
static void pvc_reg_write(u32 val)
{
*picvue->reg = val;