X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Fmips%2Flasat%2Fpicvue.c;h=d3d04c392e251f2d21a9ef6b5d5fb71ca7b784dd;hb=3ec066cdb75fb0ece5d4cc1ddfa93392f0f6498a;hp=9ae82c3ffb07d98f990808601e5a9517983e5777;hpb=d344c5e0856ad03278d8700b503762dbc8b86e12;p=linux-2.6-omap-h63xx.git diff --git a/arch/mips/lasat/picvue.c b/arch/mips/lasat/picvue.c index 9ae82c3ffb0..d3d04c392e2 100644 --- a/arch/mips/lasat/picvue.c +++ b/arch/mips/lasat/picvue.c @@ -20,9 +20,7 @@ #define PVC_DISPMEM 80 #define PVC_LINELEN PVC_DISPMEM / PVC_NLINES -struct pvc_defs *picvue = NULL; - -DECLARE_MUTEX(pvc_sem); +struct pvc_defs *picvue; static void pvc_reg_write(u32 val) { @@ -159,7 +157,7 @@ int pvc_program_cg(int charnum, u8 bitmap[BM_SIZE]) addr = charnum * 8; pvc_write(0x40 | addr, MODE_INST); - for (i=0; i